net: ethernet: bnx2: Replace NULL comparison
authorVarsha Rao <rvarsha016@gmail.com>
Sun, 3 Jun 2018 11:49:52 +0000 (17:19 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Jun 2018 21:07:27 +0000 (17:07 -0400)
commitb8aac410b76058bc00fff9398d273566fac921cf
treef98ff30e4915406ee6d0162b52387c536e8b5381
parent6dc5aa212321c87a79746980eb258912bcf352ba
net: ethernet: bnx2: Replace NULL comparison

This patch fixes the checkpatch issue of NULL comparison. Replace x == NULL
with !x, by using the following coccinelle script:

@disable is_null@
expression e;
@@
-e==NULL
+!e

Signed-off-by: Varsha Rao <rvarsha016@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2.c