diff options
| author | Roman Yeryomin <roman@advem.lv> | 2013-05-26 01:02:55 +0300 |
|---|---|---|
| committer | Roman Yeryomin <roman@advem.lv> | 2013-05-26 01:02:55 +0300 |
| commit | 342045a35b1981a89e4bc80842b10c065e1050da (patch) | |
| tree | 4140720b20e8d641c11da882010d6130a75fef21 /target/linux/brcm63xx/patches-3.8/003-spi-bcm63xx-Remove-unused-variable.patch | |
| parent | 7338133dde8238afce34676214b494c8db96689b (diff) | |
| parent | 1a116ce7818ecee5d167a9c0ebb1a0feca9120e6 (diff) | |
Merge trunk into realtek-unstable
Conflicts:
Config.in
feeds.conf.default
package/base-files/files/etc/hotplug2-common.rules
package/network/config/netifd/files/etc/init.d/network
Diffstat (limited to 'target/linux/brcm63xx/patches-3.8/003-spi-bcm63xx-Remove-unused-variable.patch')
| -rw-r--r-- | target/linux/brcm63xx/patches-3.8/003-spi-bcm63xx-Remove-unused-variable.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/patches-3.8/003-spi-bcm63xx-Remove-unused-variable.patch b/target/linux/brcm63xx/patches-3.8/003-spi-bcm63xx-Remove-unused-variable.patch new file mode 100644 index 000000000..beda12952 --- /dev/null +++ b/target/linux/brcm63xx/patches-3.8/003-spi-bcm63xx-Remove-unused-variable.patch @@ -0,0 +1,25 @@ +From 2a26efda4d16f7d25f1c55e5c387fa3d7d18e9af Mon Sep 17 00:00:00 2001 +From: Kevin Cernekee <cernekee@gmail.com> +Date: Sat, 14 Jul 2012 23:25:03 -0700 +Subject: [PATCH 01/12] spi/bcm63xx: Remove unused variable + +This fixes the following warning: + +drivers/spi/spi-bcm63xx.c: In function 'bcm63xx_spi_setup': +drivers/spi/spi-bcm63xx.c:157:6: warning: unused variable 'ret' + +Signed-off-by: Kevin Cernekee <cernekee@gmail.com> +--- + drivers/spi/spi-bcm63xx.c | 1 - + 1 file changed, 1 deletion(-) + +--- a/drivers/spi/spi-bcm63xx.c ++++ b/drivers/spi/spi-bcm63xx.c +@@ -152,7 +152,6 @@ static void bcm63xx_spi_setup_transfer(s + static int bcm63xx_spi_setup(struct spi_device *spi) + { + struct bcm63xx_spi *bs; +- int ret; + + bs = spi_master_get_devdata(spi->master); + |
