From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Graf Subject: [PATCH 3/8] [NETLINK]: Remove unused groups variable Date: Thu, 22 Mar 2007 23:18:07 +0100 Message-ID: <20070322221849.618320016@lsx.localdomain> References: <20070322221804.000124130@lsx.localdomain> Cc: netdev@vger.kernel.org, Thomas Graf To: davem@davemloft.net Return-path: Received: from postel.suug.ch ([194.88.212.233]:56186 "EHLO postel.suug.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161155AbXCVWVv (ORCPT ); Thu, 22 Mar 2007 18:21:51 -0400 Content-Disposition: inline; filename=netlink_create_unused_variable Sender: netdev-owner@vger.kernel.org List-Id: netdev.vger.kernel.org Leftover from dynamic multicast groups allocation work. Signed-off-by: Thomas Graf Index: net-2.6.22/net/netlink/af_netlink.c =================================================================== --- net-2.6.22.orig/net/netlink/af_netlink.c 2007-03-22 23:08:48.000000000 +0100 +++ net-2.6.22/net/netlink/af_netlink.c 2007-03-22 23:09:24.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) --