rtlwifi: rtl8192se: Fix gcc 4.7.x warning
authorLarry Finger <Larry.Finger@lwfinger.net>
Wed, 20 Jun 2012 16:47:26 +0000 (11:47 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 20 Jun 2012 19:14:57 +0000 (15:14 -0400)
commitf761b6947dde42890beea59b020e1be87491809e
tree07aace132a78c02e093dbbf283ac26681d12f1b9
parent5039f38e16695a0a5c72b08c6a6cc66844a657b1
rtlwifi: rtl8192se: Fix gcc 4.7.x warning

With gcc 4.7.x, the following warning is issued as the routine that sets
the array has the possibility of not initializing the values:

  CC [M]  drivers/net/wireless/rtlwifi/rtl8192se/phy.o
drivers/net/wireless/rtlwifi/rtl8192se/phy.c: In function ‘rtl92s_phy_set_txpower’:
drivers/net/wireless/rtlwifi/rtl8192se/phy.c:1268:23: warning: ‘ofdmpowerLevel[0]’ may be used uninitialized in this function [-Wuninitialized]

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtlwifi/rtl8192se/phy.c