From patchwork Sun Nov 21 22:37:16 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sven Eckelmann X-Patchwork-Id: 543 Return-Path: Received: from mail.gmx.net (mailout-de.gmx.net [213.165.64.22]) by open-mesh.org (Postfix) with SMTP id EC384154522 for ; Sun, 21 Nov 2010 23:37:02 +0100 (CET) Received: (qmail invoked by alias); 21 Nov 2010 22:37:01 -0000 Received: from i59F6D67A.versanet.de (EHLO sven-desktop.lazhur.ath.cx) [89.246.214.122] by mail.gmx.net (mp006) with SMTP; 21 Nov 2010 23:37:01 +0100 X-Authenticated: #15668376 X-Provags-ID: V01U2FsdGVkX19YWsZvEChYwv1ypSNK7QDZ2DBzRe/rFi5RH+P2xK JllURyq0nD2+R7 From: Sven Eckelmann To: b.a.t.m.a.n@lists.open-mesh.org Date: Sun, 21 Nov 2010 23:37:16 +0100 Message-Id: <1290379036-11460-1-git-send-email-sven.eckelmann@gmx.de> X-Mailer: git-send-email 1.7.2.3 X-Y-GMX-Trusted: 0 Subject: [B.A.T.M.A.N.] [PATCH] batman-adv: Rename if_list_queue to if_queue X-BeenThere: b.a.t.m.a.n@lists.open-mesh.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Nov 2010 22:37:03 -0000 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 --- 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();