* [PATCH v2] batman-adv: Remove unused variable
@ 2013-02-06 23:32 Emil Goode
2013-02-07 7:13 ` Antonio Quartulli
0 siblings, 1 reply; 2+ messages in thread
From: Emil Goode @ 2013-02-06 23:32 UTC (permalink / raw)
To: akpm, lindner_marek, siwu, ordex, davem
Cc: sasha.levin, b.a.t.m.a.n, netdev, linux-kernel, kernel-janitors,
Emil Goode
The below commit removed one node parameter from iterators.
ed242d01bbe22ea0877472db49b2752d866c921c
(hlist: drop the 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>
---
This patch applies to the linux-next tree.
v2: Added complete hash and message of dependant commit.
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2] batman-adv: Remove unused variable
2013-02-06 23:32 [PATCH v2] batman-adv: Remove unused variable Emil Goode
@ 2013-02-07 7:13 ` Antonio Quartulli
0 siblings, 0 replies; 2+ messages in thread
From: Antonio Quartulli @ 2013-02-07 7:13 UTC (permalink / raw)
To: Emil Goode
Cc: akpm, lindner_marek, siwu, davem, sasha.levin, b.a.t.m.a.n,
netdev, linux-kernel, kernel-janitors
[-- Attachment #1: Type: text/plain, Size: 651 bytes --]
On Thu, Feb 07, 2013 at 12:32:37AM +0100, Emil Goode wrote:
> The below commit removed one node parameter from iterators.
> ed242d01bbe22ea0877472db49b2752d866c921c
> (hlist: drop the 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>
Acked-by: Antonio Quartulli <ordex@autistici.org>
Thanks Emil
Cheers,
--
Antonio Quartulli
..each of us alone is worth nothing..
Ernesto "Che" Guevara
[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-02-07 7:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-06 23:32 [PATCH v2] batman-adv: Remove unused variable Emil Goode
2013-02-07 7:13 ` Antonio Quartulli
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).