diff options
author | John W. Linville <linville@tuxdriver.com> | 2011-04-29 18:54:27 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-04-29 19:25:45 (GMT) |
commit | 2eeb6fd063d812a528118536857d078bca5a1e05 (patch) | |
tree | 26385c0a5bb95c2c9608dc4b64068fe12add1bbd /drivers/net/wireless/p54 | |
parent | e245292e0a98bfbf2b54c5c0f079033f4d06dd32 (diff) | |
download | linux-fsl-qoriq-2eeb6fd063d812a528118536857d078bca5a1e05.tar.xz |
b43: avoid uninitialized variable warnings in phy_n
CC [M] drivers/net/wireless/b43/phy_n.o
drivers/net/wireless/b43/phy_n.c: In function ‘b43_nphy_set_channel’:
drivers/net/wireless/b43/phy_n.c:3848:47: warning: ‘tabent_r2’ may be used uninitialized in this function
drivers/net/wireless/b43/phy_n.c:3849:47: warning: ‘tabent_r3’ may be used uninitialized in this function
drivers/net/wireless/b43/phy_n.c: In function ‘b43_nphy_poll_rssi.clone.14’:
drivers/net/wireless/b43/phy_n.c:2270:6: warning: ‘save_regs_phy$7’ may be used uninitialized in this function
drivers/net/wireless/b43/phy_n.c:2270:6: warning: ‘save_regs_phy$8’ may be used uninitialized in this function
FWIW, the usage of these variables is goverened by checks that match
their initializations. So, I think these are actually false warnings.
Still, I would rather avoid the warning SPAM...
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/p54')
0 files changed, 0 insertions, 0 deletions