wireless: remove some (bogus?) 'may be used uninitialized' warnings
authorJohn W. Linville <linville@tuxdriver.com>
Fri, 24 Apr 2009 19:35:42 +0000 (15:35 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 24 Apr 2009 19:41:41 +0000 (15:41 -0400)
commitd3feaf5ad12259927039a675cfb25dc342b403ab
tree3e82d9b4df89ead232725dac86abbdb8d6c75d72
parent9b171ffe1b3004587f4a90ef293531a4a262e538
wireless: remove some (bogus?) 'may be used uninitialized' warnings

net/mac80211/tx.c: In function ‘ieee80211_tx_h_select_key’:
net/mac80211/tx.c:448: warning: ‘key’ may be used uninitialized in this function

drivers/net/wireless/ath/ath9k/rc.c: In function ‘ath_rc_rate_getidx’:
drivers/net/wireless/ath/ath9k/rc.c:815: warning: ‘nextindex’ may be used uninitialized in this function

drivers/net/wireless/hostap/hostap_plx.c: In function ‘prism2_plx_probe’:
drivers/net/wireless/hostap/hostap_plx.c:438: warning: ‘cor_index’ may be used uninitialized in this function
drivers/net/wireless/hostap/hostap_plx.c:438: warning: ‘cor_offset’ may be used uninitialized in this function

Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/rc.c
drivers/net/wireless/hostap/hostap_plx.c
net/mac80211/tx.c