Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1543274

Re: [PATCH mac80211-next] rfkill: hide unused goto label

Path csiph.com!1.us.feeder.erje.net!2.us.feeder.erje.net!feeder.erje.net!2.eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!news.unit0.net!news.panservice.it!bofh.it!news.nic.it!robomod
From Johannes Berg <johannes@sipsolutions.net>
Newsgroups linux.kernel
Subject Re: [PATCH mac80211-next] rfkill: hide unused goto label
Date Fri, 16 Dec 2016 10:10:02 +0100
Message-ID <sOWGC-1t7-13@gated-at.bofh.it> (permalink)
References <sOWnf-16h-13@gated-at.bofh.it>
X-Original-To Arnd Bergmann <arnd@arndb.de>
Content-Type text/plain; charset="UTF-8"
X-Mailer Evolution 3.22.2-1
MIME-Version 1.0
Content-Transfer-Encoding 7bit
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 13
Organization linux.* mail to news gateway
X-Original-Cc "David S. Miller" <davem@davemloft.net>, João Paulo Rechi Vita <jprvita@gmail.com>, Michał Kępień <kernel@kempniu.pl>, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org
X-Original-Date Fri, 16 Dec 2016 10:06:54 +0100
X-Original-Message-ID <1481879214.27953.0.camel@sipsolutions.net>
X-Original-References <20161216084425.1692828-1-arnd@arndb.de>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1543274

Show key headers only | View raw


On Fri, 2016-12-16 at 09:44 +0100, Arnd Bergmann wrote:
> A cleanup introduced a harmless warning in some configurations:
> 
> net/rfkill/core.c: In function 'rfkill_init':
> net/rfkill/core.c:1350:1: warning: label 'error_input' defined but
> not used [-Wunused-label]
> 
> This adds another #ifdef around the label to match that around the
> caller.

Applied, thanks.

johannes

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH mac80211-next] rfkill: hide unused goto label Arnd Bergmann <arnd@arndb.de> - 2016-12-16 09:50 +0100
  Re: [PATCH mac80211-next] rfkill: hide unused goto label Johannes Berg <johannes@sipsolutions.net> - 2016-12-16 10:10 +0100

csiph-web