* [PATCH] mac80211: remove stray extern
@ 2010-12-22 9:15 Johannes Berg
0 siblings, 0 replies; only message in thread
From: Johannes Berg @ 2010-12-22 9:15 UTC (permalink / raw)
To: John Linville; +Cc: linux-wireless@vger.kernel.org
From: Johannes Berg <johannes.berg@intel.com>
Somehow this snuck into my earlier patch, and
only now did I see a compiler warning:
net/mac80211/led.c:218:13: warning: function '__ieee80211_create_tpt_led_trigger' with external linkage has definition
Remove the stray extern.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
---
net/mac80211/led.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- wireless-testing.orig/net/mac80211/led.c 2010-12-22 09:57:09.000000000 +0100
+++ wireless-testing/net/mac80211/led.c 2010-12-22 10:06:05.000000000 +0100
@@ -215,8 +215,8 @@ static void tpt_trig_timer(unsigned long
read_unlock(&tpt_trig->trig.leddev_list_lock);
}
-extern char *__ieee80211_create_tpt_led_trigger(
- struct ieee80211_hw *hw, unsigned int flags,
+char *__ieee80211_create_tpt_led_trigger(struct ieee80211_hw *hw,
+ unsigned int flags,
const struct ieee80211_tpt_blink *blink_table,
unsigned int blink_table_len)
{
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-12-22 9:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-22 9:15 [PATCH] mac80211: remove stray extern Johannes Berg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).