summaryrefslogtreecommitdiffstats
path: root/net/mac80211
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2010-12-22 10:15:52 +0100
committerJohn W. Linville <linville@tuxdriver.com>2011-01-05 16:07:12 -0500
commit06778b1c383afbdb88ffd837e117bec06a76f450 (patch)
tree1f6461cbedd144b35b7ea4044ba626afac3c8e15 /net/mac80211
parent90fc4b3a5ba24f09af2a8c4a723651a328949460 (diff)
downloadlinux-stable-06778b1c383afbdb88ffd837e117bec06a76f450.tar.gz
linux-stable-06778b1c383afbdb88ffd837e117bec06a76f450.tar.bz2
linux-stable-06778b1c383afbdb88ffd837e117bec06a76f450.zip
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 <johannes.berg@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211')
-rw-r--r--net/mac80211/led.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/led.c b/net/mac80211/led.c
index 4905eb8af572..14590332c81c 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)
{