From patchwork Sun Oct 3 19:57:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gaston Gonzalez X-Patchwork-Id: 12533037 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4AC63C433EF for ; Sun, 3 Oct 2021 20:03:01 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 19ECE61278 for ; Sun, 3 Oct 2021 20:03:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 19ECE61278 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=klDUEsZ0+gDwHt+GWB38gakbvXW+5nqCaJ+E17IDlHU=; b=AZ9cx/hJndudFN laWO2+m1D6yKs34EFsuMB2Sai1qAJaJyIBQjkL9vZ3WN58QFPTDiFDDXYU8QT8FthQjB3yl4b6C/Y vZYeZBwOe1ksNY9KTGXPiI/E0PJtpR6yRUTzEYsYfF70JT2ILKjYDm+b8TRmWVF2tM1yo+lVcNcZw 8ISirnVvQr/J0pUrTFWq3LbXazTIUuM5rIBBrQxPOYcssGG2Ostzk3WAVkdDHJSH1EHmyutiXM7Tb FKhLt3fr40TDNiF+c5k3eH46je57b5qCxc9MQS3i7GHUYiAIpLSbexPhQiipudp4v2Pn5wpSDNIh8 cH2+x9649CSSHYQKDq5g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mX7f5-004Ns5-PR; Sun, 03 Oct 2021 20:00:39 +0000 Received: from mail-vs1-xe35.google.com ([2607:f8b0:4864:20::e35]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mX7f1-004NqR-16; Sun, 03 Oct 2021 20:00:36 +0000 Received: by mail-vs1-xe35.google.com with SMTP id o124so17231434vsc.6; Sun, 03 Oct 2021 13:00:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=7TZJXDTQsGNUDbvRjCz8RKRMYb6ELQrEA+DO5zTgBNA=; b=Xem6Lg1b0/aTrHz0hbJGM3loVtZcnOUMJXf/3g28tS48IffCaxi1MVyB09csLYYRD/ 9bOV2VOpccaAhtykLsqneDU8ofwdA1EKWzBNln5c5C1aRMD8Is49jz7kfxiITMugaRQ9 +CLIkYFkG8bjHYEjOC59Y2OP1Txpi06KAkDq2c8pDrxEEuLNGGRu4NCJoeOVM6dz54hE RCaCyaf4X/0KEWofME/Xf84+xe2w8vVNqtDjBykDp81wTtr9QbzdOlxnTYjviOu5tDJM j95l0/CEm8gMEmED5zqTSBp1xGMqykG6SUswRhf5qCVz236YfJqRQZFf5zdDnICc/Czq puJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=7TZJXDTQsGNUDbvRjCz8RKRMYb6ELQrEA+DO5zTgBNA=; b=i0c4vLKlZDJ28WTwKo7Pac62mEP6LkV3nqusyTM7Sh5Xh9Wq4svGyHso9LJo+Uqlsg ORY929qJZ4veza/d0YuasFKKPmxdP1ZtLu/EHh1SUCr8dmfh9n1OVkEmejm2LKeY3F1o VV7Voc4jq2KVGgtt6HlH/ks+E6WPmNxVf6qvSYclspC0ZR+s812HA5DpxgW0ppflaXTI wN3Hv78iOJJ2ZdOv5YltIoNZnZ8E7VKBl3bTwE65yvxA+0CtRMBd3Uflj8+ZNnkaxPwg UPH8m4UUZyhFWlMeS97VAYX9w7iYG6h6+9M9vE6KCx3mVTtCgdLTT5Az3J/p1ZMg37df kz1Q== X-Gm-Message-State: AOAM533OQpml3M9MkqGuIO96j+08TJ4dI+VUgw5riW7bdQ4y/9BPEQQb mZ048XwuANyuozW5XSCj7aI= X-Google-Smtp-Source: ABdhPJw1JjvUugGtOTVTqq7ofJV35mRcutZofY6BZ1Lz2nA6gqxT3W3b1s8PAzGPV0klg+cqGQLjyQ== X-Received: by 2002:a67:c187:: with SMTP id h7mr1634122vsj.29.1633291226351; Sun, 03 Oct 2021 13:00:26 -0700 (PDT) Received: from localhost.localdomain ([181.23.73.135]) by smtp.gmail.com with ESMTPSA id x21sm6691019uao.2.2021.10.03.13.00.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Oct 2021 13:00:26 -0700 (PDT) From: Gaston Gonzalez To: linux-staging@lists.linux.dev Cc: gregkh@linuxfoundation.org, nsaenz@kernel.org, stefan.wahren@i2se.com, arnd@arndb.de, dan.carpenter@oracle.com, ojaswin98@gmail.com, amarjargal16@gmail.com, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, bcm-kernel-feedback-list@broadcom.com, linux-kernel@vger.kernel.org, gascoar@gmail.com Subject: [PATCH 1/9] staging: vchiq_core: cleanup blank lines Date: Sun, 3 Oct 2021 16:57:51 -0300 Message-Id: <20211003195758.36572-2-gascoar@gmail.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211003195758.36572-1-gascoar@gmail.com> References: <20211003195758.36572-1-gascoar@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211003_130035_094022_51D828CD X-CRM114-Status: GOOD ( 10.04 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Remove unnecessary blank lines. Reported by checkpatch.pl Signed-off-by: Gaston Gonzalez --- drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c | 2 -- drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.h | 3 --- 2 files changed, 5 deletions(-) diff --git a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c index 083abfd8e212..45858607282c 100644 --- a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c +++ b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c @@ -257,7 +257,6 @@ find_service_by_handle(unsigned int handle) struct vchiq_service * find_service_by_port(struct vchiq_state *state, int localport) { - if ((unsigned int)localport <= VCHIQ_PORT_MAX) { struct vchiq_service *service; @@ -3207,7 +3206,6 @@ enum vchiq_status vchiq_bulk_transfer(unsigned int handle, } state = service->state; - queue = (dir == VCHIQ_BULK_TRANSMIT) ? &service->bulk_tx : &service->bulk_rx; diff --git a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.h b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.h index 3ef4cbe1053c..de1e861c4ed3 100644 --- a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.h +++ b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.h @@ -14,7 +14,6 @@ #include "vchiq_cfg.h" - /* Do this so that we can test-build the code on non-rpi systems */ #if IS_ENABLED(CONFIG_RASPBERRYPI_FIRMWARE) @@ -260,7 +259,6 @@ struct vchiq_service_quota { }; struct vchiq_shared_state { - /* A non-zero value here indicates that the content is valid. */ int initialised; @@ -449,7 +447,6 @@ struct vchiq_config { short version_min; /* The minimum compatible version of VCHIQ */ }; - extern spinlock_t bulk_waiter_spinlock; extern int vchiq_core_log_level;