diff options
author | Johannes Berg <johannes.berg@intel.com> | 2010-12-22 04:15:52 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-01-05 16:07:12 -0500 |
commit | 06778b1c383afbdb88ffd837e117bec06a76f450 (patch) | |
tree | 1f6461cbedd144b35b7ea4044ba626afac3c8e15 | |
parent | 90fc4b3a5ba24f09af2a8c4a723651a328949460 (diff) |
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>
-rw-r--r-- | net/mac80211/led.c | 4 |
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) | |||
215 | read_unlock(&tpt_trig->trig.leddev_list_lock); | 215 | read_unlock(&tpt_trig->trig.leddev_list_lock); |
216 | } | 216 | } |
217 | 217 | ||
218 | extern char *__ieee80211_create_tpt_led_trigger( | 218 | char *__ieee80211_create_tpt_led_trigger(struct ieee80211_hw *hw, |
219 | struct ieee80211_hw *hw, unsigned int flags, | 219 | unsigned int flags, |
220 | const struct ieee80211_tpt_blink *blink_table, | 220 | const struct ieee80211_tpt_blink *blink_table, |
221 | unsigned int blink_table_len) | 221 | unsigned int blink_table_len) |
222 | { | 222 | { |