diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2011-03-27 17:19:57 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-04-04 16:20:01 -0400 |
commit | 324732848c42bf79988479ee1b4359e15f08154b (patch) | |
tree | c2835df869da35b84274242f3862ed5e171211be /drivers/net/wireless/rtlwifi/base.c | |
parent | 6d2bd916afe6950b50f750cd82bbb9c6ff58611f (diff) |
rtlwifi: Remove unused/unneeded variables
Remove some unused variables and correct spelling errors.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rtlwifi/base.c')
-rw-r--r-- | drivers/net/wireless/rtlwifi/base.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/wireless/rtlwifi/base.c b/drivers/net/wireless/rtlwifi/base.c index bb0c781f4a1b..dd5318ed7872 100644 --- a/drivers/net/wireless/rtlwifi/base.c +++ b/drivers/net/wireless/rtlwifi/base.c | |||
@@ -432,7 +432,7 @@ static void _rtl_txrate_selectmode(struct ieee80211_hw *hw, | |||
432 | } | 432 | } |
433 | 433 | ||
434 | if (rtlpriv->dm.useramask) { | 434 | if (rtlpriv->dm.useramask) { |
435 | /* TODO we will differentiate adhoc and station futrue */ | 435 | /* TODO adhoc and station handled differently in the future */ |
436 | tcb_desc->mac_id = 0; | 436 | tcb_desc->mac_id = 0; |
437 | 437 | ||
438 | if ((mac->mode == WIRELESS_MODE_N_24G) || | 438 | if ((mac->mode == WIRELESS_MODE_N_24G) || |
@@ -630,7 +630,7 @@ u8 rtl_is_special_data(struct ieee80211_hw *hw, struct sk_buff *skb, u8 is_tx) | |||
630 | const struct iphdr *ip; | 630 | const struct iphdr *ip; |
631 | 631 | ||
632 | if (!ieee80211_is_data(fc)) | 632 | if (!ieee80211_is_data(fc)) |
633 | goto end; | 633 | return false; |
634 | 634 | ||
635 | if (ieee80211_is_nullfunc(fc)) | 635 | if (ieee80211_is_nullfunc(fc)) |
636 | return true; | 636 | return true; |
@@ -686,7 +686,6 @@ u8 rtl_is_special_data(struct ieee80211_hw *hw, struct sk_buff *skb, u8 is_tx) | |||
686 | return true; | 686 | return true; |
687 | } | 687 | } |
688 | 688 | ||
689 | end: | ||
690 | return false; | 689 | return false; |
691 | } | 690 | } |
692 | 691 | ||