[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20090104.171133.149921284.davem@davemloft.net>
Date: Sun, 04 Jan 2009 17:11:33 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: odie@...aau.dk
Cc: IvDoorn@...il.com, netdev@...r.kernel.org
Subject: Re: [PATCH] net/rfkill/rfkill.c: fix unused rfkill_led_trigger()
warning
From: Simon Holm Thøgersen <odie@...aau.dk>
Date: Wed, 31 Dec 2008 10:09:18 +0100
> commit 4dec9b807be757780ca3611a959ac22c28d292a7 ("rfkill: strip pointless
> notifier chain") removed the only user of rfkill_led_trigger() that was not
> guarded by #ifdef CONFIG_RFKILL_LEDS. Therefore, move rfkill_led_trigger()
> completely inside #ifdef CONFIG_RFKILL_LEDS and avoid the compile time
> warning:
>
> net/rfkill/rfkill.c:59: warning: 'rfkill_led_trigger' defined but not used
>
> Signed-off-by: Simon Holm Thøgersen <odie@...aau.dk>
Applied, thanks Simon.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists