brcm63xx: switch to 3.9 kernel
[openwrt/staging/yousong.git] / target / linux / brcm63xx / patches-3.8 / 003-spi-bcm63xx-Remove-unused-variable.patch
1 From 2a26efda4d16f7d25f1c55e5c387fa3d7d18e9af Mon Sep 17 00:00:00 2001
2 From: Kevin Cernekee <cernekee@gmail.com>
3 Date: Sat, 14 Jul 2012 23:25:03 -0700
4 Subject: [PATCH 01/12] spi/bcm63xx: Remove unused variable
5
6 This fixes the following warning:
7
8 drivers/spi/spi-bcm63xx.c: In function 'bcm63xx_spi_setup':
9 drivers/spi/spi-bcm63xx.c:157:6: warning: unused variable 'ret'
10
11 Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
12 ---
13 drivers/spi/spi-bcm63xx.c | 1 -
14 1 file changed, 1 deletion(-)
15
16 --- a/drivers/spi/spi-bcm63xx.c
17 +++ b/drivers/spi/spi-bcm63xx.c
18 @@ -152,7 +152,6 @@ static void bcm63xx_spi_setup_transfer(s
19 static int bcm63xx_spi_setup(struct spi_device *spi)
20 {
21 struct bcm63xx_spi *bs;
22 - int ret;
23
24 bs = spi_master_get_devdata(spi->master);
25