aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/netlink/af_netlink.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c
index 04b72d3c1dea..8488c15f2643 100644
--- a/net/netlink/af_netlink.c
+++ b/net/netlink/af_netlink.c
@@ -396,7 +396,6 @@ static int netlink_create(struct socket *sock, int protocol)
396{ 396{
397 struct module *module = NULL; 397 struct module *module = NULL;
398 struct netlink_sock *nlk; 398 struct netlink_sock *nlk;
399 unsigned int groups;
400 int err = 0; 399 int err = 0;
401 400
402 sock->state = SS_UNCONNECTED; 401 sock->state = SS_UNCONNECTED;
@@ -418,7 +417,6 @@ static int netlink_create(struct socket *sock, int protocol)
418 if (nl_table[protocol].registered && 417 if (nl_table[protocol].registered &&
419 try_module_get(nl_table[protocol].module)) 418 try_module_get(nl_table[protocol].module))
420 module = nl_table[protocol].module; 419 module = nl_table[protocol].module;
421 groups = nl_table[protocol].groups;
422 netlink_unlock_table(); 420 netlink_unlock_table();
423 421
424 if ((err = __netlink_create(sock, protocol)) < 0) 422 if ((err = __netlink_create(sock, protocol)) < 0)