diff options
author | Shawn Lin <shawn.lin@rock-chips.com> | 2016-02-16 11:23:32 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-02-16 12:40:48 +0000 |
commit | 23366a02bfd3b4d3075aefcfd71600fb1360a02e (patch) | |
tree | 011ffe688ae5ad7579171dbf741e3d517c03e20e /drivers/spi/spi-rockchip.c | |
parent | 92e963f50fc74041b5e9e744c330dca48e04f08d (diff) | |
download | lwn-23366a02bfd3b4d3075aefcfd71600fb1360a02e.tar.gz lwn-23366a02bfd3b4d3075aefcfd71600fb1360a02e.zip |
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.c | 2 |
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; |