diff options
author | Johannes Berg <[email protected]> | 2009-12-02 11:20:36 +0100 |
---|---|---|
committer | John W. Linville <[email protected]> | 2009-12-04 14:16:25 -0500 |
commit | df98a4967002d0df88d92f89662261e3a7867cf7 (patch) | |
tree | 1fe3cfb23ad73f9ca27d6022cf9fe374f2f11078 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 52ce3e9a7db754b78cf2cbabc87013f921b25b28 (diff) |
b43: fix two warnings
My gcc appears to be able to see past the function
boundary and notices that the variable 'behaviour'
could be used uninitialised:
drivers/net/wireless/b43/leds.c: In function ‘b43_leds_register’:
drivers/net/wireless/b43/leds.c:339: warning: ‘behaviour’ may be used uninitialized in this function
drivers/net/wireless/b43/leds.c: In function ‘b43_leds_init’:
drivers/net/wireless/b43/leds.c:262: warning: ‘behaviour’ may be used uninitialized in this function
because b43_led_get_sprominfo() didn't initialise
it in all cases.
Signed-off-by: Johannes Berg <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions