From: Simon Wunderlich <sw@simonwunderlich.de>
To: davem@davemloft.net
Cc: netdev@vger.kernel.org, b.a.t.m.a.n@lists.open-mesh.org,
Sven Eckelmann <sven@narfation.org>,
Simon Wunderlich <sw@simonwunderlich.de>
Subject: [PATCH 5/7] batman-adv: Remove unused variable in batadv_tt_local_set_flags
Date: Thu, 26 Jan 2017 17:44:02 +0100 [thread overview]
Message-ID: <20170126164404.16074-6-sw@simonwunderlich.de> (raw)
In-Reply-To: <20170126164404.16074-1-sw@simonwunderlich.de>
From: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
---
net/batman-adv/translation-table.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/net/batman-adv/translation-table.c b/net/batman-adv/translation-table.c
index 941afad92121..6077a87d46f0 100644
--- a/net/batman-adv/translation-table.c
+++ b/net/batman-adv/translation-table.c
@@ -3714,7 +3714,6 @@ static void batadv_tt_local_set_flags(struct batadv_priv *bat_priv, u16 flags,
{
struct batadv_hashtable *hash = bat_priv->tt.local_hash;
struct batadv_tt_common_entry *tt_common_entry;
- u16 changed_num = 0;
struct hlist_head *head;
u32 i;
@@ -3736,7 +3735,6 @@ static void batadv_tt_local_set_flags(struct batadv_priv *bat_priv, u16 flags,
continue;
tt_common_entry->flags &= ~flags;
}
- changed_num++;
if (!count)
continue;
--
2.11.0
next prev parent reply other threads:[~2017-01-26 16:44 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-26 16:43 [PATCH 0/7] pull request for net-next: batman-adv 2017-01-26 Simon Wunderlich
2017-01-26 16:43 ` [PATCH 2/7] batman-adv: don't add loop detect macs to TT Simon Wunderlich
2017-01-26 16:44 ` [PATCH 3/7] uapi: install batman_adv.h header Simon Wunderlich
2017-01-26 16:44 ` Simon Wunderlich [this message]
2017-01-26 16:44 ` [PATCH 6/7] batman-adv: Remove one condition check in batadv_route_unicast_packet Simon Wunderlich
2017-01-26 16:44 ` [PATCH 7/7] batman-adv: Treat NET_XMIT_CN as transmit successfully Simon Wunderlich
[not found] ` <20170126164404.16074-1-sw-2YrNx6rUIHYiY0qSoAWiAoQuADTiUCJX@public.gmane.org>
2017-01-26 16:43 ` [PATCH 1/7] batman-adv: Start new development cycle Simon Wunderlich
2017-01-26 16:44 ` [PATCH 4/7] batman-adv: update copyright years for 2017 Simon Wunderlich
2017-01-26 19:31 ` [PATCH 0/7] pull request for net-next: batman-adv 2017-01-26 David Miller
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=20170126164404.16074-6-sw@simonwunderlich.de \
--to=sw@simonwunderlich.de \
--cc=b.a.t.m.a.n@lists.open-mesh.org \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
--cc=sven@narfation.org \
/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).