]> git.karo-electronics.de Git - linux-beck.git/commit
rtlwifi: fix places where uninitialized data is used
authorAlessio Igor Bogani <abogani@kernel.org>
Mon, 28 Feb 2011 08:11:55 +0000 (09:11 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 28 Feb 2011 19:06:54 +0000 (14:06 -0500)
commitc2a7dca0ce0e6ceb13f9030ff8e9731eaa14cc02
tree465ed71045dc4eaeb3c913d361644e7f50fce7be
parent701c2be03aac62a54decaa685c70d2b734afde67
rtlwifi: fix places where uninitialized data is used

drivers/net/wireless/rtlwifi/rtl8192ce/trx.c: In function ‘rtl92ce_rx_query_desc’:
drivers/net/wireless/rtlwifi/rtl8192ce/trx.c:255:5: warning: ‘rf_rx_num’ may be used uninitialized in this function
drivers/net/wireless/rtlwifi/rtl8192ce/trx.c:257:12: warning: ‘total_rssi’ may be used uninitialized in this function
drivers/net/wireless/rtlwifi/rtl8192ce/trx.c:466:6: warning: ‘weighting’ may be used uninitialized in this function

This work was supported by a hardware donation from the CE Linux Forum.

Signed-off-by: Alessio Igor Bogani <abogani@kernel.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtlwifi/rtl8192ce/trx.c