Staging: ath6kl, remove unneeded ptr checking
authorJiri Slaby <jslaby@suse.cz>
Sat, 4 Sep 2010 13:03:07 +0000 (15:03 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 5 Sep 2010 04:26:06 +0000 (21:26 -0700)
commit2a4724a76d73b3888d2e12780a7181fbe6e0766a
treee844bd8cf9aca1dfda766a5fcbe92682ab897306
parentff7d368ed98b27405197a1d3e76d8032ecbe6194
Staging: ath6kl, remove unneeded ptr checking

In wmi_bssInfo_event_rx, there is unneeded check for bss, because it
is in the branch where the bss is checked to be non-null already.

Remove the superfluous check.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Vipin Mehta <vmehta@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/ath6kl/wmi/wmi.c