aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShawn Lin <shawn.lin@rock-chips.com>2016-02-15 22:23:32 -0500
committerMark Brown <broonie@kernel.org>2016-02-16 07:40:48 -0500
commit23366a02bfd3b4d3075aefcfd71600fb1360a02e (patch)
tree011ffe688ae5ad7579171dbf741e3d517c03e20e
parent92e963f50fc74041b5e9e744c330dca48e04f08d (diff)
spi: rockchip: remove xfer_completion from rockchip_spi
xfer_completion isn't been used anywhere, so it can be removed. Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com> Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--drivers/spi/spi-rockchip.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/spi/spi-rockchip.c b/drivers/spi/spi-rockchip.c
index 79a8bc4f6cec..07909ee9b33f 100644
--- a/drivers/spi/spi-rockchip.c
+++ b/drivers/spi/spi-rockchip.c
@@ -192,8 +192,6 @@ struct rockchip_spi {
192 /* protect state */ 192 /* protect state */
193 spinlock_t lock; 193 spinlock_t lock;
194 194
195 struct completion xfer_completion;
196
197 u32 use_dma; 195 u32 use_dma;
198 struct sg_table tx_sg; 196 struct sg_table tx_sg;
199 struct sg_table rx_sg; 197 struct sg_table rx_sg;