Leftover from dynamic multicast groups allocation work. Signed-off-by: Thomas Graf Index: net-2.6/net/netlink/af_netlink.c =================================================================== --- net-2.6.orig/net/netlink/af_netlink.c 2007-01-23 14:09:34.000000000 +0100 +++ net-2.6/net/netlink/af_netlink.c 2007-01-23 14:09:49.000000000 +0100 @@ -396,7 +396,6 @@ static int netlink_create(struct socket { 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 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) -- - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html