[PATCH] bcm43xx: Add error checking in bcm43xx_sprom_write()
authorAdrian Bunk <bunk@stusta.de>
Mon, 6 Nov 2006 15:48:48 +0000 (09:48 -0600)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 8 Nov 2006 01:05:07 +0000 (20:05 -0500)
commit3406118cd34762a7bf6b1a4f1095f9ea7576a354
tree5cee591e7595fcbd18b832a35c7f553cd06cc299
parentecac598bcd1f151ee4760489bded625c147fb366
[PATCH] bcm43xx: Add error checking in bcm43xx_sprom_write()

The Coverity checker noted that these "if (err)"'s couldn't ever be
true.

It seems the intention was to check the return values of the
bcm43xx_pci_write_config32()'s?

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/bcm43xx/bcm43xx_main.c