From: Shawn Lin Date: Tue, 16 Feb 2016 03:23:32 +0000 (+0800) Subject: UPSTREAM: spi: rockchip: remove xfer_completion from rockchip_spi X-Git-Tag: firefly_0821_release~2445 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b66da51e53883ce521190241f78bd4be4515223d;p=firefly-linux-kernel-4.4.55.git UPSTREAM: spi: rockchip: remove xfer_completion from rockchip_spi xfer_completion isn't been used anywhere, so it can be removed. Change-Id: I5a653609c8afaa83665ebc050274d3c9dcf59777 Signed-off-by: Shawn Lin Signed-off-by: Mark Brown Signed-off-by: Caesar Wang (cherry picked from git.kernel.org next/linux-next.git master commit 23366a02bfd3b4d3075aefcfd71600fb1360a02e) --- diff --git a/drivers/spi/spi-rockchip.c b/drivers/spi/spi-rockchip.c index f395247a5df0..569071d735af 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;