• John W. Linville's avatar
    wireless: remove some (bogus?) 'may be used uninitialized' warnings · d3feaf5a
    John W. Linville authored
    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: default avatarJohn W. Linville <linville@tuxdriver.com>
    d3feaf5a
rc.c 52.3 KB