]> git.karo-electronics.de Git - linux-beck.git/commit
staging: r8723au: replace explicit NULL comparisons with !
authorAlison Schofield <amsfield22@gmail.com>
Sat, 24 Oct 2015 04:32:20 +0000 (21:32 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Oct 2015 02:45:43 +0000 (19:45 -0700)
commit48c9578c1c63515ce9e0bfb54b051dce5cfa3675
tree7e1d8885eea4d6235ec3d10386a3453147d48a82
parente9cd7afaf1fed8ef4ac6c930bd52043492954d40
staging: r8723au: replace explicit NULL comparisons with !

Replace explicit NULL comparison with ! operator to simplify code.

Addresses checkpatch.pl:
WARNING: Comparisons should place the constant on the right side of the
test

Signed-off-by: Alison Schofield <amsfield22@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/core/rtw_ap.c