projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29e8f59
)
netfilter: Fix warning in nfnetlink_receive().
author
David S. Miller
<davem@davemloft.net>
Thu, 24 Apr 2014 17:51:29 +0000
(13:51 -0400)
committer
David S. Miller
<davem@davemloft.net>
Thu, 24 Apr 2014 17:51:29 +0000
(13:51 -0400)
net/netfilter/nfnetlink.c: In function ‘nfnetlink_rcv’:
net/netfilter/nfnetlink.c:371:14: warning: unused variable ‘net’ [-Wunused-variable]
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/nfnetlink.c
patch
|
blob
|
blame
|
history
diff --git
a/net/netfilter/nfnetlink.c
b/net/netfilter/nfnetlink.c
index 84392f3237c13cda772bbf273c8df858c164f1d3..e009087620e30ecdae7fe1bda155c0d905d9f6c0 100644
(file)
--- a/
net/netfilter/nfnetlink.c
+++ b/
net/netfilter/nfnetlink.c
@@
-368,7
+368,6
@@
done:
static void nfnetlink_rcv(struct sk_buff *skb)
{
struct nlmsghdr *nlh = nlmsg_hdr(skb);
- struct net *net = sock_net(skb->sk);
int msglen;
if (nlh->nlmsg_len < NLMSG_HDRLEN ||