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)
commit7695c8b049a2ce722577653ec01066fa89dbb273
tree30d8038cf65137510a0c362e90122794d5525226
parent91733125422e67caf7d9a63443d409f9ad2050d0
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