brcm80211: fmac: fix a couple checking after dereference bugs
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 24 Feb 2012 06:22:27 +0000 (09:22 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 27 Feb 2012 19:06:41 +0000 (14:06 -0500)
There were two dereferencing before checking for NULL static checker
complaints in this new file.  The list cursor is never NULL so that
check can be removed.  I moved the other dereference after the check.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

No differences found