mac80211: remove stray extern
authorJohannes Berg <johannes.berg@intel.com>
Wed, 22 Dec 2010 09:15:52 +0000 (10:15 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 5 Jan 2011 21:07:12 +0000 (16:07 -0500)
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>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/led.c

index 4905eb8af5721ff690efca18e6d38af9709bab41..14590332c81ccca331bb6160916457df872c37a6 100644 (file)
@@ -215,8 +215,8 @@ static void tpt_trig_timer(unsigned long data)
        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)
 {