netfilter: bitwise: remove NULL comparisons from attribute checks.
authorJeremy Sowden <jeremy@azazel.net>
Wed, 15 Jan 2020 20:05:49 +0000 (20:05 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 16 Jan 2020 14:51:56 +0000 (15:51 +0100)
commit265ec7b0e8c35ea70e694da43aa8896e2614def9
treef6a1c89a657cc4c475503b85fdb98852cefd1518
parentfbf19ddf396b3526718a64e24ace316c64d3ed1f
netfilter: bitwise: remove NULL comparisons from attribute checks.

In later patches, we will be adding more checks.  In order to be
consistent and prevent complaints from checkpatch.pl, replace the
existing comparisons with NULL with logical NOT operators.

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nft_bitwise.c