bcm63xx: add 3.9 support
[openwrt/svn-archive/archive.git] / target / linux / brcm63xx / patches-3.9 / 008-spi-bcm63xx-remove-unused-variable-bs-from-bcm63xx_s.patch
1 From 30151fe21befa84d9cd27d63f1bf3973988c811e Mon Sep 17 00:00:00 2001
2 From: Jonas Gorski <jogo@openwrt.org>
3 Date: Mon, 11 Mar 2013 13:47:19 +0100
4 Subject: [PATCH 06/12] spi/bcm63xx: remove unused variable bs from
5 bcm63xx_spi_setup
6
7 It is only written, but never read.
8
9 Signed-off-by: Jonas Gorski <jogo@openwrt.org>
10 ---
11 drivers/spi/spi-bcm63xx.c | 4 ----
12 1 file changed, 4 deletions(-)
13
14 --- a/drivers/spi/spi-bcm63xx.c
15 +++ b/drivers/spi/spi-bcm63xx.c
16 @@ -151,10 +151,6 @@ static void bcm63xx_spi_setup_transfer(s
17
18 static int bcm63xx_spi_setup(struct spi_device *spi)
19 {
20 - struct bcm63xx_spi *bs;
21 -
22 - bs = spi_master_get_devdata(spi->master);
23 -
24 if (!spi->bits_per_word)
25 spi->bits_per_word = 8;
26