From e2428ebd83861f693ac94cbe2662021d4e7f3775 Mon Sep 17 00:00:00 2001 From: jogo Date: Tue, 23 Apr 2013 13:55:36 +0000 Subject: bcm63xx: update patches with upstream submissions git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36407 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- ...-remove-unused-variable-bs-from-bcm63xx_s.patch | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 target/linux/brcm63xx/patches-3.8/008-spi-bcm63xx-remove-unused-variable-bs-from-bcm63xx_s.patch (limited to 'target/linux/brcm63xx/patches-3.8/008-spi-bcm63xx-remove-unused-variable-bs-from-bcm63xx_s.patch') diff --git a/target/linux/brcm63xx/patches-3.8/008-spi-bcm63xx-remove-unused-variable-bs-from-bcm63xx_s.patch b/target/linux/brcm63xx/patches-3.8/008-spi-bcm63xx-remove-unused-variable-bs-from-bcm63xx_s.patch new file mode 100644 index 000000000..81ea919c8 --- /dev/null +++ b/target/linux/brcm63xx/patches-3.8/008-spi-bcm63xx-remove-unused-variable-bs-from-bcm63xx_s.patch @@ -0,0 +1,26 @@ +From 30151fe21befa84d9cd27d63f1bf3973988c811e Mon Sep 17 00:00:00 2001 +From: Jonas Gorski +Date: Mon, 11 Mar 2013 13:47:19 +0100 +Subject: [PATCH 06/12] spi/bcm63xx: remove unused variable bs from + bcm63xx_spi_setup + +It is only written, but never read. + +Signed-off-by: Jonas Gorski +--- + drivers/spi/spi-bcm63xx.c | 4 ---- + 1 file changed, 4 deletions(-) + +--- a/drivers/spi/spi-bcm63xx.c ++++ b/drivers/spi/spi-bcm63xx.c +@@ -151,10 +151,6 @@ static void bcm63xx_spi_setup_transfer(s + + static int bcm63xx_spi_setup(struct spi_device *spi) + { +- struct bcm63xx_spi *bs; +- +- bs = spi_master_get_devdata(spi->master); +- + if (!spi->bits_per_word) + spi->bits_per_word = 8; + -- cgit v1.2.3