]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
b43: Fix swatch warning
authorLarry Finger <Larry.Finger@lwfinger.net>
Sat, 27 Aug 2011 20:53:42 +0000 (15:53 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 29 Aug 2011 19:33:03 +0000 (15:33 -0400)
commit9a53bf54b8149bc1372f50a83b769f42772083ea
treee8f8a285416d0d6b7e6cb0a79cd751c017ed88e9
parent1ba45b9e3a366fee0603cda51e61935b7dc9db7d
b43: Fix swatch warning

Swatch reports the following warning for main.c:

  CHECK   drivers/net/wireless/b43/main.c
drivers/net/wireless/b43/main.c +4115 b43_wireless_core_stop(7) warn: variable dereferenced before check 'dev'

After analysis, this is not a bug, but a false warning. Nonetheless,
a cleanup is in order to prevent some future janitor proposing
the wrong fix, as I did in my original patch.

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