projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ipv6: coding style: comparison for inequality with NULL
[firefly-linux-kernel-4.4.55.git]
/
net
/
ipv6
/
reassembly.c
diff --git
a/net/ipv6/reassembly.c
b/net/ipv6/reassembly.c
index 24fbc0abfff63276b3c49d8ed52953a3e62edfad..8ffa2c8cce774e8398a031ab90c69a3ed2934a6a 100644
(file)
--- a/
net/ipv6/reassembly.c
+++ b/
net/ipv6/reassembly.c
@@
-552,7
+552,7
@@
static int ipv6_frag_rcv(struct sk_buff *skb)
fq = fq_find(net, fhdr->identification, &hdr->saddr, &hdr->daddr,
ip6_frag_ecn(hdr));
- if (fq
!= NULL
) {
+ if (fq) {
int ret;
spin_lock(&fq->q.lock);