diff options
author | Murali Karicheri <m-karicheri2@ti.com> | 2019-04-05 20:31:28 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-04-07 04:32:21 +0300 |
commit | 05ca6e644dc9b733379009137ba4cc7afce2256d (patch) | |
tree | 9132726d5a25f4dbf393027bb1d0b7882b981f6e /net/hsr/hsr_main.h | |
parent | 0525fc069f03dfd871752eb7afc85075444c8b28 (diff) | |
download | linux-05ca6e644dc9b733379009137ba4cc7afce2256d.tar.xz |
net: hsr: fix NULL checks in the code
This patch replaces all instance of NULL checks such as
if (foo == NULL) with if (!foo)
Also
if (foo != NULL) with if (foo)
This is seen when ran checkpatch.pl -f on files under net/hsr
and suggestion is to replace as above.
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/hsr/hsr_main.h')
0 files changed, 0 insertions, 0 deletions