]> err.no Git - linux-2.6/commit
b43: silence a bogus gcc warning
authorFrank Lichtenheld <frank@lichtenheld.de>
Mon, 12 Nov 2007 10:12:52 +0000 (11:12 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:04:38 +0000 (15:04 -0800)
commit7223e8d900d415fe128152d7a4061501b7593d37
treeba74f76b6c30769e9623132b679e1a1d92824d11
parent59f1b154653d961d3ace72a4a5311c395cf7d779
b43: silence a bogus gcc warning

use uninitialized_var() to avoid the following bogus warning:
  CC [M]  drivers/net/wireless/b43/debugfs.o
drivers/net/wireless/b43/debugfs.c: In function ‘b43_debugfs_read’:
drivers/net/wireless/b43/debugfs.c:355: warning: ‘ret’ may be used uninitialized in this function

Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: Frank Lichtenheld <frank@lichtenheld.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/debugfs.c