From patchwork Thu Dec 31 03:41:20 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Linus_L=C3=BCssing?= X-Patchwork-Id: 5237 Return-Path: Received: from fmmailgate01.web.de (fmmailgate01.web.de [217.72.192.221]) by open-mesh.net (Postfix) with ESMTP id 1D7B315408A for ; Thu, 31 Dec 2009 03:58:59 +0000 (UTC) Received: from smtp06.web.de (fmsmtp06.dlan.cinetic.de [172.20.5.172]) by fmmailgate01.web.de (Postfix) with ESMTP id 5EA13143D4A13 for ; Thu, 31 Dec 2009 04:41:20 +0100 (CET) Received: from [85.179.239.35] (helo=localhost) by smtp06.web.de with asmtp (TLSv1:AES128-SHA:128) (WEB.DE 4.110 #314) id 1NQBua-0007F3-00 for b.a.t.m.a.n@lists.open-mesh.net; Thu, 31 Dec 2009 04:41:20 +0100 Date: Thu, 31 Dec 2009 04:41:20 +0100 From: =?utf-8?B?PT9VVEYtOD9xP0xpbnVzPTIwTD1DMz1CQ3NzaW5nPz0=?= To: b.a.t.m.a.n@lists.open-mesh.net Message-ID: <20091231034120.GC18781@Sellars> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linus.luessing@web.de X-Sender: linus.luessing@web.de X-Provags-ID: V01U2FsdGVkX1+L+HNm7hHAdLQitd0IkmdETWe58GbXgtRtVjeA LSsQaq7D/VsxXlWyUYrD8ikMp4TuizxAFmX+bB8/q3/uHq+wYz EAsOS61EXl4Hlg9mHJAg== Subject: [B.A.T.M.A.N.] [PATCH 3/3] batman-adv: Remove unused variable X-BeenThere: b.a.t.m.a.n@lists.open-mesh.net 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: Thu, 31 Dec 2009 03:58:59 -0000 The variable 'flag' is never being used in this function, therefore removing it. Signed-off-by: Linus Lüssing --- soft-interface.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/soft-interface.c b/soft-interface.c index 4d4d542..bc0217b 100644 --- a/soft-interface.c +++ b/soft-interface.c @@ -148,7 +148,6 @@ struct net_device_stats *interface_stats(struct net_device *dev) int interface_set_mac_addr(struct net_device *dev, void *p) { struct sockaddr *addr = p; - unsigned long flags; if (!is_valid_ether_addr(addr->sa_data)) return -EADDRNOTAVAIL;