spi: rockchip: remove xfer_completion from rockchip_spi
authorShawn Lin <shawn.lin@rock-chips.com>
Tue, 16 Feb 2016 03:23:32 +0000 (11:23 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 16 Feb 2016 12:40:48 +0000 (12:40 +0000)
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>
drivers/spi/spi-rockchip.c

index 79a8bc4f6cec9e32ec9c78627a2e68fc85ab5e12..07909ee9b33f3120828d0a5e3c7162a8562c23fd 100644 (file)
@@ -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;