ipv6: coding style: comparison for inequality with NULL
authorIan Morris <ipm@chirality.org.uk>
Sun, 29 Mar 2015 13:00:05 +0000 (14:00 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 31 Mar 2015 17:51:54 +0000 (13:51 -0400)
commit53b24b8f94cb15e38e332db82177cf3f0f4df0c5
treec314553dc093f5226913a247c36c03012f7d22d7
parent63159f29be1df7f93563a8a0f78c5e65fc844ed6
ipv6: coding style: comparison for inequality with NULL

The ipv6 code uses a mixture of coding styles. In some instances check for NULL
pointer is done as x != NULL and sometimes as x. x is preferred according to
checkpatch and this patch makes the code consistent by adopting the latter
form.

No changes detected by objdiff.

Signed-off-by: Ian Morris <ipm@chirality.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
17 files changed:
net/ipv6/addrconf_core.c
net/ipv6/af_inet6.c
net/ipv6/ip6_fib.c
net/ipv6/ip6_flowlabel.c
net/ipv6/ip6_gre.c
net/ipv6/ip6_input.c
net/ipv6/ip6_offload.c
net/ipv6/ip6_output.c
net/ipv6/ip6_tunnel.c
net/ipv6/ip6_vti.c
net/ipv6/ip6mr.c
net/ipv6/mcast.c
net/ipv6/raw.c
net/ipv6/reassembly.c
net/ipv6/sit.c
net/ipv6/tcp_ipv6.c
net/ipv6/udp.c