staging: rtl8712: rtl871x_mlme.c: use !x in place of NULL comparison
authorPayal Kshirsagar <payal.s.kshirsagar.98@gmail.com>
Tue, 2 Apr 2019 15:24:13 +0000 (20:54 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Apr 2019 17:57:11 +0000 (19:57 +0200)
commit58ff7e7aaa513a3aad257d2a083586f3b3fdb6df
tree6de42a1d5c042ac309573fa1f6146aeda904aafa
parentab6426e3353ac9731f92218ccf4f36bb8d933407
staging: rtl8712: rtl871x_mlme.c: use !x in place of NULL comparison

Challenge suggested by coccinelle.
Avoid NULL comparison, compare using boolean operator.

Signed-off-by: Payal Kshirsagar <payal.s.kshirsagar.98@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8712/rtl871x_mlme.c