Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1334980

[PATCH] spi: rockchip: remove xfer_completion from rockchip_spi

From Shawn Lin <shawn.lin@rock-chips.com>
Newsgroups linux.kernel
Subject [PATCH] spi: rockchip: remove xfer_completion from rockchip_spi
Date 2016-02-16 04:30 +0100
Message-ID <r2EuR-24K-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


xfer_completion isn't been used anywhere, so it can be
removed.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
---

 drivers/spi/spi-rockchip.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/spi/spi-rockchip.c b/drivers/spi/spi-rockchip.c
index 79a8bc4..07909ee9 100644
--- a/drivers/spi/spi-rockchip.c
+++ b/drivers/spi/spi-rockchip.c
@@ -192,8 +192,6 @@ struct rockchip_spi {
 	/* protect state */
 	spinlock_t lock;
 
-	struct completion xfer_completion;
-
 	u32 use_dma;
 	struct sg_table tx_sg;
 	struct sg_table rx_sg;
-- 
2.3.7

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH] spi: rockchip: remove xfer_completion from rockchip_spi Shawn Lin <shawn.lin@rock-chips.com> - 2016-02-16 04:30 +0100

csiph-web