]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
iwl3945: fix "‘power_idx’ may be used uninitialized" warning
authorJohn W. Linville <linville@tuxdriver.com>
Mon, 12 Jan 2009 19:44:52 +0000 (14:44 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 13 Jan 2009 15:25:45 +0000 (10:25 -0500)
commit25a4cceaa44a7f73c8f92e6177812347500a0b15
treee7a03915b05533e9887cf8ff7aa2bd2ff46a406d
parent08cb7e01678b0a8d95d76aa0a395f2d7390f7ee1
iwl3945: fix "‘power_idx’ may be used uninitialized" warning

drivers/net/wireless/iwlwifi/iwl-3945.c: In function ‘iwl3945_txpower_set_from_eeprom’:
drivers/net/wireless/iwlwifi/iwl-3945.c:2222: warning: ‘power_idx’ may be used uninitialized in this function

Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-3945.c