diff options
author | Jiri Kosina <jkosina@suse.cz> | 2010-06-21 14:22:08 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-06-22 15:06:20 -0700 |
commit | 2fa5e380da8e3b34266861450c7dcd7e822fc485 (patch) | |
tree | 92e9073a77b3ff234437fbd8d2b1744ca8b1844e /drivers/staging/rtl8192e/ieee80211/rtl819x_HTProc.c | |
parent | 3ff16c257a103febb63a92f305043fc36c83e9ad (diff) | |
download | linux-stable-2fa5e380da8e3b34266861450c7dcd7e822fc485.tar.gz linux-stable-2fa5e380da8e3b34266861450c7dcd7e822fc485.tar.bz2 linux-stable-2fa5e380da8e3b34266861450c7dcd7e822fc485.zip |
Staging: rtl8192e: remove all code dependent on LINUX_VERSION_CODE
Remove all code which is dead for in-kernel driver due to being
ifdefed by LINUX_VERSION_CODE.
While at it, also remove surrounding code which is commented out,
or '#if 1' nops.
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/rtl8192e/ieee80211/rtl819x_HTProc.c')
-rw-r--r-- | drivers/staging/rtl8192e/ieee80211/rtl819x_HTProc.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/drivers/staging/rtl8192e/ieee80211/rtl819x_HTProc.c b/drivers/staging/rtl8192e/ieee80211/rtl819x_HTProc.c index 4c4b1df350ac..b0c9c78eca4e 100644 --- a/drivers/staging/rtl8192e/ieee80211/rtl819x_HTProc.c +++ b/drivers/staging/rtl8192e/ieee80211/rtl819x_HTProc.c @@ -1024,17 +1024,6 @@ u8 HTFilterMCSRate( struct ieee80211_device* ieee, u8* pSupportMCS, u8* pOperate return true; } void HTSetConnectBwMode(struct ieee80211_device* ieee, HT_CHANNEL_WIDTH Bandwidth, HT_EXTCHNL_OFFSET Offset); -#if 0 -//I need move this function to other places, such as rx? -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,20)) -void HTOnAssocRsp_wq(struct work_struct *work) -{ - struct ieee80211_device *ieee = container_of(work, struct ieee80211_device, ht_onAssRsp); -#else -void HTOnAssocRsp_wq(struct ieee80211_device *ieee) -{ -#endif -#endif void HTOnAssocRsp(struct ieee80211_device *ieee) { PRT_HIGH_THROUGHPUT pHTInfo = ieee->pHTInfo; @@ -1760,9 +1749,3 @@ void HTSetConnectBwModeCallback(struct ieee80211_device* ieee) pHTInfo->bSwBwInProgress = false; } - -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0) -//EXPORT_SYMBOL_NOVERS(HTUpdateSelfAndPeerSetting); -#else -//EXPORT_SYMBOL(HTUpdateSelfAndPeerSetting); -#endif |