From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Emil Goode Date: Wed, 6 Feb 2013 17:37:41 +0100 Message-Id: <1360168661-16871-1-git-send-email-emilgoode@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Subject: [B.A.T.M.A.N.] [PATCH] batman-adv: Remove unused variable Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: lindner_marek@yahoo.de, siwu@hrz.tu-chemnitz.de, ordex@autistici.org, davem@davemloft.net Cc: Emil Goode , netdev@vger.kernel.org, b.a.t.m.a.n@lists.open-mesh.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org The commit ed242d01 removed a node parameter from iterators. This patch removes a hlist_node struct that is no longer used. Sparse gives a warning: net/batman-adv/originator.c:411:21: warning: unused variable ‘node_tmp’ [-Wunused-variable] Signed-off-by: Emil Goode --- net/batman-adv/originator.c | 1 - 1 file changed, 1 deletion(-) diff --git a/net/batman-adv/originator.c b/net/batman-adv/originator.c index 43d0f89..96fb80b 100644 --- a/net/batman-adv/originator.c +++ b/net/batman-adv/originator.c @@ -408,7 +408,6 @@ int batadv_orig_seq_print_text(struct seq_file *seq, void *offset) struct net_device *net_dev = (struct net_device *)seq->private; struct batadv_priv *bat_priv = netdev_priv(net_dev); struct batadv_hashtable *hash = bat_priv->orig_hash; - struct hlist_node *node_tmp; struct hlist_head *head; struct batadv_hard_iface *primary_if; struct batadv_orig_node *orig_node; -- 1.7.10.4 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Emil Goode Date: Wed, 06 Feb 2013 16:37:41 +0000 Subject: [PATCH] batman-adv: Remove unused variable Message-Id: <1360168661-16871-1-git-send-email-emilgoode@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: lindner_marek@yahoo.de, siwu@hrz.tu-chemnitz.de, ordex@autistici.org, davem@davemloft.net Cc: b.a.t.m.a.n@lists.open-mesh.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Emil Goode The commit ed242d01 removed a node parameter from iterators. This patch removes a hlist_node struct that is no longer used. Sparse gives a warning: net/batman-adv/originator.c:411:21: warning: unused variable ‘node_tmp’ [-Wunused-variable] Signed-off-by: Emil Goode --- net/batman-adv/originator.c | 1 - 1 file changed, 1 deletion(-) diff --git a/net/batman-adv/originator.c b/net/batman-adv/originator.c index 43d0f89..96fb80b 100644 --- a/net/batman-adv/originator.c +++ b/net/batman-adv/originator.c @@ -408,7 +408,6 @@ int batadv_orig_seq_print_text(struct seq_file *seq, void *offset) struct net_device *net_dev = (struct net_device *)seq->private; struct batadv_priv *bat_priv = netdev_priv(net_dev); struct batadv_hashtable *hash = bat_priv->orig_hash; - struct hlist_node *node_tmp; struct hlist_head *head; struct batadv_hard_iface *primary_if; struct batadv_orig_node *orig_node; -- 1.7.10.4 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756647Ab3BFQfm (ORCPT ); Wed, 6 Feb 2013 11:35:42 -0500 Received: from mail-lb0-f171.google.com ([209.85.217.171]:49150 "EHLO mail-lb0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754767Ab3BFQfj (ORCPT ); Wed, 6 Feb 2013 11:35:39 -0500 From: Emil Goode To: lindner_marek@yahoo.de, siwu@hrz.tu-chemnitz.de, ordex@autistici.org, davem@davemloft.net Cc: b.a.t.m.a.n@lists.open-mesh.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Emil Goode Subject: [PATCH] batman-adv: Remove unused variable Date: Wed, 6 Feb 2013 17:37:41 +0100 Message-Id: <1360168661-16871-1-git-send-email-emilgoode@gmail.com> X-Mailer: git-send-email 1.7.10.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The commit ed242d01 removed a node parameter from iterators. This patch removes a hlist_node struct that is no longer used. Sparse gives a warning: net/batman-adv/originator.c:411:21: warning: unused variable ‘node_tmp’ [-Wunused-variable] Signed-off-by: Emil Goode --- net/batman-adv/originator.c | 1 - 1 file changed, 1 deletion(-) diff --git a/net/batman-adv/originator.c b/net/batman-adv/originator.c index 43d0f89..96fb80b 100644 --- a/net/batman-adv/originator.c +++ b/net/batman-adv/originator.c @@ -408,7 +408,6 @@ int batadv_orig_seq_print_text(struct seq_file *seq, void *offset) struct net_device *net_dev = (struct net_device *)seq->private; struct batadv_priv *bat_priv = netdev_priv(net_dev); struct batadv_hashtable *hash = bat_priv->orig_hash; - struct hlist_node *node_tmp; struct hlist_head *head; struct batadv_hard_iface *primary_if; struct batadv_orig_node *orig_node; -- 1.7.10.4