diff options
author | Jiri Kosina <jkosina@suse.cz> | 2010-06-21 12:22:08 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-06-22 22:06:20 (GMT) |
commit | 2fa5e380da8e3b34266861450c7dcd7e822fc485 (patch) | |
tree | 92e9073a77b3ff234437fbd8d2b1744ca8b1844e /drivers/staging/rtl8192e/ieee80211/ieee80211_crypt.h | |
parent | 3ff16c257a103febb63a92f305043fc36c83e9ad (diff) | |
download | linux-fsl-qoriq-2fa5e380da8e3b34266861450c7dcd7e822fc485.tar.xz |
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/ieee80211_crypt.h')
-rw-r--r-- | drivers/staging/rtl8192e/ieee80211/ieee80211_crypt.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/staging/rtl8192e/ieee80211/ieee80211_crypt.h b/drivers/staging/rtl8192e/ieee80211/ieee80211_crypt.h index a84df4b..ca7dd0d 100644 --- a/drivers/staging/rtl8192e/ieee80211/ieee80211_crypt.h +++ b/drivers/staging/rtl8192e/ieee80211/ieee80211_crypt.h @@ -82,12 +82,4 @@ void ieee80211_crypt_deinit_entries(struct ieee80211_device *, int); void ieee80211_crypt_deinit_handler(unsigned long); void ieee80211_crypt_delayed_deinit(struct ieee80211_device *ieee, struct ieee80211_crypt_data **crypt); -#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)) -#define offset_in_page(p) ((unsigned long)(p) & ~PAGE_MASK) -#endif -#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,4,31)) -#define crypto_alloc_tfm crypto_alloc_tfm_rsl -#define crypto_free_tfm crypto_free_tfm_rsl -#endif - #endif |