From patchwork Tue Apr 17 14:29:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Sylwester Nawrocki/Kernel \\(PLT\\) /SRPOL/Staff Engineer/Samsung Electronics" X-Patchwork-Id: 10345275 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 15FC360542 for ; Tue, 17 Apr 2018 14:32:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ED5C620072 for ; Tue, 17 Apr 2018 14:32:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E1ABF2841F; Tue, 17 Apr 2018 14:32:14 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 71E0020072 for ; Tue, 17 Apr 2018 14:32:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-reply-to:Message-id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=zLWpo7cRnas1/ymv62V3Qq2dg0TT8EMNdRuO2fVx0nc=; b=p8Wnp2HgltYGbg2pwDnequel7g Fl3nrBNHNWXAoVf8cvwbEJhY2nglJarHna+gT+U3fQM5Gy79WwnaCfbnY98nFSfjMG6T7mPOU0b1A UVB6kDPX6VDRNJv4m7opwUbusatMx7/QsQF4k43YcU6aDEZZVeGaY+n45hqfyUK6CSpjyUL0aVr03 EGuFLVLqDXINW9w0K8uMC4uAC7IKpRZM+8L9OfRwwKNMwP4tLiysz8PBSIkp/eTwnp6UGpHDf7VYJ 0WPpCAATuXniqEGP7j6U8OcE33Y8oKaXAbDzIKu4O4+zbhRwFchcNlmxnaRo4Hg6Tzlkv4pStrfSQ xvb5/wGA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1f8ReQ-00013Y-Ul; Tue, 17 Apr 2018 14:32:06 +0000 Received: from mailout2.samsung.com ([203.254.224.25]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1f8RdF-0000J1-OL for linux-arm-kernel@lists.infradead.org; Tue, 17 Apr 2018 14:30:55 +0000 Received: from epcas2p2.samsung.com (unknown [182.195.41.54]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20180417143041epoutp02dac72bf4bc1767e3e6ea63ab994c5383~mP5biRqYC2314423144epoutp02a; Tue, 17 Apr 2018 14:30:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20180417143041epoutp02dac72bf4bc1767e3e6ea63ab994c5383~mP5biRqYC2314423144epoutp02a DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1523975441; bh=4utlaiTUdiDGDEAzczmG+km8T+zbumtmBK1fFmcc27o=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=liAKFI9AEnRgwg/EGm8qWJPb50ruhT8bmFlC/OIaAai700wHPBlKmS8cI5TIb4p2l oUf6bqXfHbHBpodnxISeDQZJc/CMBx28XTyj1pLdPBKa1ildme1AEjcmm4Fj+Z6As7 cbFKCXRgT40yJa+FuaRC5kKpWIGkM3u8EBmOQqNA= Received: from epsmges2p4.samsung.com (unknown [182.195.42.72]) by epcas2p3.samsung.com (KnoxPortal) with ESMTP id 20180417143040epcas2p35cf4a20b1d16641fff09558d9e268c0b~mP5bEmNu12533425334epcas2p3v; Tue, 17 Apr 2018 14:30:40 +0000 (GMT) Received: from epcas2p4.samsung.com ( [182.195.41.56]) by epsmges2p4.samsung.com (Symantec Messaging Gateway) with SMTP id ED.8F.04082.01506DA5; Tue, 17 Apr 2018 23:30:40 +0900 (KST) Received: from epsmgms2p2new.samsung.com (unknown [182.195.42.143]) by epcas2p3.samsung.com (KnoxPortal) with ESMTP id 20180417143039epcas2p39e2c730d107c94e5f9bf104d3a938f90~mP5aC7P0H2328123281epcas2p3y; Tue, 17 Apr 2018 14:30:39 +0000 (GMT) X-AuditID: b6c32a48-8c1ff70000000ff2-68-5ad60510a815 Received: from epmmp1.local.host ( [203.254.227.16]) by epsmgms2p2new.samsung.com (Symantec Messaging Gateway) with SMTP id D7.5E.03827.F0506DA5; Tue, 17 Apr 2018 23:30:39 +0900 (KST) Received: from AMDC3061.digital.local ([106.116.147.40]) by mmp1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0P7C0012A2Y8EI10@mmp1.samsung.com>; Tue, 17 Apr 2018 23:30:39 +0900 (KST) From: Sylwester Nawrocki To: broonie@kernel.org Subject: [PATCH v2 4/8] spi: spi-s3c64xx: Drop unused enable_datapath() function argument Date: Tue, 17 Apr 2018 16:29:50 +0200 Message-id: <20180417142954.5507-4-s.nawrocki@samsung.com> X-Mailer: git-send-email 2.14.2 In-reply-to: <20180417142954.5507-1-s.nawrocki@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrPIsWRmVeSWpSXmKPExsWy7bCmha4A67Uog5ZzqhaLfzxnstg4Yz2r xdSHT9gs+h+/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FKHH35FpGkCo2AUOJ3qN9YLaIgJjE7TmdzCBFzAJN TBLvP38Gcjg4hAWiJWbddAOpYRFQlWhY1coCYvMKWEmsfbeCGWKbvMT7BfcZQco5Bawl9neK gJhCQCXL/glOYORZwMiwilEytaA4Nz232KjAKC+1XK84Mbe4NC9dLzk/dxMjMLy2Hdbq38H4 eEn8IUYBDkYlHl6JHVeihFgTy4orcw8xSnAwK4nw7nwMFOJNSaysSi3Kjy8qzUktPsQozcGi JM7Ln38sUkggPbEkNTs1tSC1CCbLxMEp1cColpBZ0XE9zHqNeOjiK4vD8q+H77650nvfLrUz 37lNTeZLXlrcs4/puZ/rrapLYXwB+mFyPh4br0+3T5aZ1CW7R7fr46PDj0/uaahfPneSXvJc vlyWpriNh0Jq/OIyTx+1OhFot23xmxcpGTevLdrnKLrU9uiO9XbS+fXXf8v9eGTI7Lzp3qts JZbijERDLeai4kQAy4LPSysCAAA= X-CMS-MailID: 20180417143039epcas2p39e2c730d107c94e5f9bf104d3a938f90 X-Msg-Generator: CA CMS-TYPE: 102P X-CMS-RootMailID: 20180417143039epcas2p39e2c730d107c94e5f9bf104d3a938f90 X-RootMTR: 20180417143039epcas2p39e2c730d107c94e5f9bf104d3a938f90 References: <20180417142954.5507-1-s.nawrocki@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180417_073053_980070_2E181737 X-CRM114-Status: GOOD ( 13.23 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-samsung-soc@vger.kernel.org, Sylwester Nawrocki , b.zolnierkie@samsung.com, krzk@kernel.org, linux-spi@vger.kernel.org, kgene@kernel.org, andi@etezian.org, linux-arm-kernel@lists.infradead.org, m.szyprowski@samsung.com MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The spi pointer argument is not used now so remove it. Signed-off-by: Sylwester Nawrocki Reviewed-by: Andi Shyti --- drivers/spi/spi-s3c64xx.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c index 4c27426bcb40..5d94915c2738 100644 --- a/drivers/spi/spi-s3c64xx.c +++ b/drivers/spi/spi-s3c64xx.c @@ -349,8 +349,7 @@ static bool s3c64xx_spi_can_dma(struct spi_master *master, } static void enable_datapath(struct s3c64xx_spi_driver_data *sdd, - struct spi_device *spi, - struct spi_transfer *xfer, int dma_mode) + struct spi_transfer *xfer, int dma_mode) { void __iomem *regs = sdd->regs; u32 modecfg, chcfg; @@ -667,7 +666,7 @@ static int s3c64xx_spi_transfer_one(struct spi_master *master, sdd->state &= ~RXBUSY; sdd->state &= ~TXBUSY; - enable_datapath(sdd, spi, xfer, use_dma); + enable_datapath(sdd, xfer, use_dma); /* Start the signals */ s3c64xx_spi_set_cs(spi, true);