mac80211: rt2x00: fix PCI eeprom patch
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 13 Jan 2013 20:44:14 +0000 (20:44 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 13 Jan 2013 20:44:14 +0000 (20:44 +0000)
commit555935f388fcc90c23cd59f88c18614eaa045980
treea11657ccadb7d2fa638d249d270c2c2ec0257c0e
parent3cdf9671355bcbff73ed5f1e53f3c8f5357a26c0
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35143 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/mac80211/patches/605-rt2x00-pci-eeprom.patch