]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - net/ipv6/ip6_input.c
ipv6: coding style: comparison for inequality with NULL
[mirror_ubuntu-artful-kernel.git] / net / ipv6 / ip6_input.c
index aacdcb4dc7624117561ce9720fa4734ed06ce5a0..fb97f7f8d4ed11497e088d063fbe8d78e80d0ed0 100644 (file)
@@ -221,7 +221,7 @@ resubmit:
 
        raw = raw6_local_deliver(skb, nexthdr);
        ipprot = rcu_dereference(inet6_protos[nexthdr]);
-       if (ipprot != NULL) {
+       if (ipprot) {
                int ret;
 
                if (ipprot->flags & INET6_PROTO_FINAL) {