p54: fix build warnings
authorChristian Lamparter <chunkeey@web.de>
Sat, 25 Oct 2008 14:14:14 +0000 (16:14 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 27 Oct 2008 21:46:11 +0000 (17:46 -0400)
commitf2c2e25554991f9c17bcd24028db5e1c50ecb0ad
tree23fc52708e86fefe93cbeca9eecb6c95086d91ca
parentbc1b32d6bdd2d6f3fbee9a7c01c9b099f11c579c
p54: fix build warnings

On Saturday 25 October 2008 10:24:10 Johannes Berg wrote:
> just FYI in case you haven't seen them. the p54 one looks like a genuine
> problem.
>
> drivers/net/wireless/p54/p54common.c: In function ‘p54_parse_eeprom’:
> drivers/net/wireless/p54/p54common.c:325: warning: ‘synth’ may be used uninitialized in this function

There you go. Yes, it is a genuine problem, if the device's eeprom is screwed really up.

Signed-off-by: Christian Lamparter <chunkeey@web.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/p54/p54common.c