]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drivers: staging: rtl8723au: remove unneeded null test
authorCihangir Akturk <cakturk@gmail.com>
Fri, 4 Mar 2016 13:43:10 +0000 (15:43 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 12 Mar 2016 06:09:09 +0000 (22:09 -0800)
commitd31770b32fb40f6087ca9ae7139fedd0d0a27771
tree4175ef2f599afbecff64115a5b867b70f6b9f120
parent67ea154073bc3ecfdce58654b103363420ac9403
drivers: staging: rtl8723au: remove unneeded null test

null test on pnetwork removed, because the iterator variable
list_for_each_entry_safe cannot be null.

This commit fixes the following error reported by coccinelle:

drivers/staging/rtl8723au/core/rtw_mlme.c:1621:7-15: ERROR: iterator
variable bound on line 1620 cannot be NULL

Signed-off-by: Cihangir Akturk <cakturk@gmail.com>
Acked-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/core/rtw_mlme.c