Skip to contentSkip to conversation

mac80211: remove stray extern

PATCH New Johannes Berg 1 participant 1 message Dec 22, 2010 mac80211

lore
Share & tools
lore

Johannes Berg

author maintainer
#0 lore raw

PATCH 1/1 mac80211: remove stray extern

From: Johannes Berg <[email protected]>

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.

---
 net/mac80211/led.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
net/mac80211/led.c +2 -2
@@ -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)
 {