projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ipv4: coding style: comparison for equality with NULL
[deliverable/linux.git]
/
net
/
ipv4
/
tcp.c
diff --git
a/net/ipv4/tcp.c
b/net/ipv4/tcp.c
index dbd51cefaf023a452894055d1e50d78218aedee9..5bd809bfd0aaa454b207e45806018f650bd8ab24 100644
(file)
--- a/
net/ipv4/tcp.c
+++ b/
net/ipv4/tcp.c
@@
-1047,7
+1047,7
@@
static int tcp_sendmsg_fastopen(struct sock *sk, struct msghdr *msg,
tp->fastopen_req = kzalloc(sizeof(struct tcp_fastopen_request),
sk->sk_allocation);
- if (unlikely(
tp->fastopen_req == NULL
))
+ if (unlikely(
!tp->fastopen_req
))
return -ENOBUFS;
tp->fastopen_req->data = msg;
tp->fastopen_req->size = size;
This page took
0.026693 seconds
and
5
git commands to generate.