]> git.baikalelectronics.ru Git - kernel.git/commit
be2net: use "if (!foo)" test style
authorKalesh AP <kalesh.purayil@emulex.com>
Thu, 17 Jul 2014 10:50:28 +0000 (16:20 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Jul 2014 23:38:15 +0000 (16:38 -0700)
commit6aa4b322b630c371c0c60eca9198075d8ab86f28
tree4b62be2238bc14eb94a55a918a71e69a9837047d
parentc7a6d933e3d3a1297aba4b8306980e34d8e48a54
be2net: use "if (!foo)" test style

Replace "if (foo == NULL)" statements with "if (!foo)" to be consistent
across the driver.

Signed-off-by: Kalesh AP <kalesh.purayil@emulex.com>
Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_main.c