summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-rockchip.c
diff options
context:
space:
mode:
authorShawn Lin <shawn.lin@rock-chips.com>2016-02-16 06:23:32 +0300
committerMark Brown <broonie@kernel.org>2016-02-16 15:40:48 +0300
commit23366a02bfd3b4d3075aefcfd71600fb1360a02e (patch)
tree011ffe688ae5ad7579171dbf741e3d517c03e20e /drivers/spi/spi-rockchip.c
parent92e963f50fc74041b5e9e744c330dca48e04f08d (diff)
downloadlinux-23366a02bfd3b4d3075aefcfd71600fb1360a02e.tar.xz
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>
Diffstat (limited to 'drivers/spi/spi-rockchip.c')
-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 {
/* protect state */
spinlock_t lock;
- struct completion xfer_completion;
-
u32 use_dma;
struct sg_table tx_sg;
struct sg_table rx_sg;