]> git.baikalelectronics.ru Git - kernel.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)
commit0bd4d6261ee42a1543c99ad5a14b17cd9be9ec6a
tree7e1d8885eea4d6235ec3d10386a3453147d48a82
parentd900551b1dc6e4a961be323f55e9c481fca14562
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