projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2672810
)
[NETLINK]: Remove unused groups variable
author
Thomas Graf
<
[email protected]
>
Fri, 23 Mar 2007 06:27:39 +0000
(23:27 -0700)
committer
David S. Miller
<
[email protected]
>
Thu, 26 Apr 2007 05:27:27 +0000
(22:27 -0700)
Leftover from dynamic multicast groups allocation work.
Signed-off-by: Thomas Graf <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
net/netlink/af_netlink.c
patch
|
blob
|
history
diff --git
a/net/netlink/af_netlink.c
b/net/netlink/af_netlink.c
index 04b72d3c1dea8607ff8ca8f1c957ec1ef8cd7670..8488c15f26434a6f05aa67430563bad101c9b74f 100644
(file)
--- 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)
{
struct module *module = NULL;
struct netlink_sock *nlk;
- unsigned int groups;
int err = 0;
sock->state = SS_UNCONNECTED;
@@
-418,7
+417,6
@@
static int netlink_create(struct socket *sock, int protocol)
if (nl_table[protocol].registered &&
try_module_get(nl_table[protocol].module))
module = nl_table[protocol].module;
- groups = nl_table[protocol].groups;
netlink_unlock_table();
if ((err = __netlink_create(sock, protocol)) < 0)