public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] [PATCH] batman-adv: Rename if_list_queue to if_queue
@ 2010-11-21 22:37 Sven Eckelmann
  2010-11-21 23:15 ` Marek Lindner
  0 siblings, 1 reply; 2+ messages in thread
From: Sven Eckelmann @ 2010-11-21 22:37 UTC (permalink / raw)
  To: b.a.t.m.a.n

The name "if_list_queue" would create lines longer than 80 chars which
can be avoided by shortened version "if_queue".

Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de>
---
 batman-adv/hard-interface.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/batman-adv/hard-interface.c b/batman-adv/hard-interface.c
index bf98b90..4f95777 100644
--- a/batman-adv/hard-interface.c
+++ b/batman-adv/hard-interface.c
@@ -476,19 +476,19 @@ static void hardif_remove_interface(struct batman_if *batman_if)
 void hardif_remove_interfaces(void)
 {
 	struct batman_if *batman_if, *batman_if_tmp;
-	struct list_head if_list_queue;
+	struct list_head if_queue;
 
-	INIT_LIST_HEAD(&if_list_queue);
+	INIT_LIST_HEAD(&if_queue);
 
 	spin_lock(&if_list_lock);
 	list_for_each_entry_safe(batman_if, batman_if_tmp, &if_list, list) {
 		list_del_rcu(&batman_if->list);
-		list_add_tail(&batman_if->list, &if_list_queue);
+		list_add_tail(&batman_if->list, &if_queue);
 	}
 	spin_unlock(&if_list_lock);
 
 	rtnl_lock();
-	list_for_each_entry_safe(batman_if, batman_if_tmp, &if_list_queue, list) {
+	list_for_each_entry_safe(batman_if, batman_if_tmp, &if_queue, list) {
 		hardif_remove_interface(batman_if);
 	}
 	rtnl_unlock();
-- 
1.7.2.3


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [B.A.T.M.A.N.] [PATCH] batman-adv: Rename if_list_queue to if_queue
  2010-11-21 22:37 [B.A.T.M.A.N.] [PATCH] batman-adv: Rename if_list_queue to if_queue Sven Eckelmann
@ 2010-11-21 23:15 ` Marek Lindner
  0 siblings, 0 replies; 2+ messages in thread
From: Marek Lindner @ 2010-11-21 23:15 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

On Sunday 21 November 2010 23:37:16 Sven Eckelmann wrote:
> The name "if_list_queue" would create lines longer than 80 chars which
> can be avoided by shortened version "if_queue".

Applied in revision 1880.

Thanks,
Marek

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-11-21 23:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-21 22:37 [B.A.T.M.A.N.] [PATCH] batman-adv: Rename if_list_queue to if_queue Sven Eckelmann
2010-11-21 23:15 ` Marek Lindner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox