From: Emil Goode <emilgoode@gmail.com>
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 <emilgoode@gmail.com>
Subject: [PATCH] batman-adv: Remove unused variable
Date: Wed, 6 Feb 2013 17:37:41 +0100 [thread overview]
Message-ID: <1360168661-16871-1-git-send-email-emilgoode@gmail.com> (raw)
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 <emilgoode@gmail.com>
---
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
next reply other threads:[~2013-02-06 16:35 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-06 16:37 Emil Goode [this message]
2013-02-06 17:22 ` [PATCH] batman-adv: Remove unused variable Antonio Quartulli
2013-02-06 17:55 ` Emil Goode
2013-02-06 19:55 ` Antonio Quartulli
2013-02-06 21:59 ` Emil Goode
2013-02-06 22:10 ` Antonio Quartulli
2013-02-06 22:23 ` Dan Carpenter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1360168661-16871-1-git-send-email-emilgoode@gmail.com \
--to=emilgoode@gmail.com \
--cc=b.a.t.m.a.n@lists.open-mesh.org \
--cc=davem@davemloft.net \
--cc=kernel-janitors@vger.kernel.org \
--cc=lindner_marek@yahoo.de \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=ordex@autistici.org \
--cc=siwu@hrz.tu-chemnitz.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).