diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2021-07-29 12:09:26 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-07-30 10:22:34 +0200 |
commit | efb8bc8683f20c9f80a9b3239934ccc85e7ed59a (patch) | |
tree | 4567a1e09b5bd576fa82f0c2d5fa141831e3002a /drivers/staging/r8188eu/include/rtw_mlme.h | |
parent | 9a730283aec2d6e51f7cc923b04f2d279bc2313c (diff) | |
download | linux-efb8bc8683f20c9f80a9b3239934ccc85e7ed59a.tar.bz2 |
staging: r8188eu: Remove tests of kernel version
In the GitHub repository from which this driver was derived, old kernels
had to be supported. Now that the driver is included in the kernel,
this code can be removed as well as all mention of version.h.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Link: https://lore.kernel.org/r/20210729170930.23171-3-Larry.Finger@lwfinger.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/r8188eu/include/rtw_mlme.h')
-rw-r--r-- | drivers/staging/r8188eu/include/rtw_mlme.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/staging/r8188eu/include/rtw_mlme.h b/drivers/staging/r8188eu/include/rtw_mlme.h index 7cab18047cef..3ef1a008c602 100644 --- a/drivers/staging/r8188eu/include/rtw_mlme.h +++ b/drivers/staging/r8188eu/include/rtw_mlme.h @@ -453,13 +453,8 @@ void indicate_wx_scan_complete_event(struct adapter *padapter); void rtw_indicate_wx_assoc_event(struct adapter *padapter); void rtw_indicate_wx_disassoc_event(struct adapter *padapter); int event_thread(void *context); -#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 15, 0) -void rtw_join_timeout_handler (void *FunctionContext); -void _rtw_scan_timeout_handler(void *FunctionContext); -#else void rtw_join_timeout_handler (struct timer_list *t); void _rtw_scan_timeout_handler (struct timer_list *t); -#endif void rtw_free_network_queue(struct adapter *adapter, u8 isfreeall); int rtw_init_mlme_priv(struct adapter *adapter); void rtw_free_mlme_priv (struct mlme_priv *pmlmepriv); |