The following commit has been merged in the master branch: commit 4b8d4371ad2d4fd8c062c8b3533bb69c6499578e Author: Sven Eckelmann sven.eckelmann@gmx.de Date: Sun Nov 21 23:06:00 2010 +0000
batman-adv: Rename if_list_queue to if_queue
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
diff --git a/hard-interface.c b/hard-interface.c index bf98b90..4f95777 100644 --- a/hard-interface.c +++ b/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();