From: Johannes Berg Date: Wed, 22 Dec 2010 09:15:52 +0000 (+0100) Subject: mac80211: remove stray extern X-Git-Tag: v3.12-rc1~7851^2~14^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=06778b1c383afbdb88ffd837e117bec06a76f450;p=kernel%2Fkernel-generic.git mac80211: remove stray extern 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 Signed-off-by: John W. Linville --- diff --git a/net/mac80211/led.c b/net/mac80211/led.c index 4905eb8..1459033 100644 --- a/net/mac80211/led.c +++ b/net/mac80211/led.c @@ -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) {