staging: r8188eu: remove kernel version depended code paths
authorMichael Straube <straube.linux@gmail.com>
Sun, 15 Aug 2021 10:24:06 +0000 (12:24 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Aug 2021 07:10:21 +0000 (09:10 +0200)
commit027ed956b526350d7098e31731fa81c5579c2e68
tree2713083afc3ca7f8c4ff359dba509e41222c0ea6
parent099ec97ac92911abfb102bb5c68ed270fc12e0dd
staging: r8188eu: remove kernel version depended code paths

Remove kernel version depended code paths from the driver.
Reported by checkpatch.

WARNING: LINUX_VERSION_CODE should be avoided, code should be for the version to which it is merged

Acked-by: Martin Kaiser <martin@kaiser.cx>
Acked-by: Phillip Potter <phil@philpotter.co.uk>
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210815102406.3707-1-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_mlme.c
drivers/staging/r8188eu/os_dep/os_intfs.c
drivers/staging/r8188eu/os_dep/rtw_android.c
drivers/staging/r8188eu/os_dep/xmit_linux.c