mac80211: rt2x00: fix PCI eeprom patch
authorGabor Juhos <juhosg@openwrt.org>
Sun, 13 Jan 2013 20:44:14 +0000 (20:44 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sun, 13 Jan 2013 20:44:14 +0000 (20:44 +0000)
commitdd4a2b8bdd1b703cad8f2a5361ff0880dd2b9180
treea11657ccadb7d2fa638d249d270c2c2ec0257c0e
parent32f66790991915769ceb588ecbf47e347c17ba29
mac80211: rt2x00: fix PCI eeprom patch

Fixes the following warnings:

  CC [M] <...>/drivers/net/wireless/rt2x00/rt2800pci.o
<...>/drivers/net/wireless/rt2x00/rt2800pci.c: In function 'rt2800pci_read_eeprom_file':
<...>/drivers/net/wireless/rt2x00/rt2800pci.c:95:2: warning: 'return' with a value, in function returning void [enabled by default]
<...>/drivers/net/wireless/rt2x00/rt2800pci.c: In function 'rt2800pci_read_eeprom':
<...>/drivers/net/wireless/rt2x00/rt2800pci.c:994:2: warning: 'retval' may be used uninitialized in this function [-Wuninitialized]

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35143
package/mac80211/patches/605-rt2x00-pci-eeprom.patch