This set of patches eliminates several of the small header file by moving their content into longer headers. One patch also removes the code used to build the driver on kernels older than mainline. Signed-off-by: Larry Finger <Larry.Finger@xxxxxxxxxxxx> Larry Finger (6): staging: r8188eu: Remove empty header file staging: r8188eu: Remove tests of kernel version staging: r8188eu: Remove include/rtw_qos.h staging: r8188eu: Remove header file include/usb_hal.h staging: r8188eu: Remove header file include/rtw_version.h staging: r8188eu: Add "fallthrough" statement to quiet compiler drivers/staging/r8188eu/core/rtw_debug.c | 2 +- drivers/staging/r8188eu/core/rtw_led.c | 12 ---- drivers/staging/r8188eu/core/rtw_mlme_ext.c | 2 +- drivers/staging/r8188eu/core/rtw_p2p.c | 53 ---------------- drivers/staging/r8188eu/core/rtw_pwrctrl.c | 12 ---- drivers/staging/r8188eu/core/rtw_recv.c | 16 ----- drivers/staging/r8188eu/core/rtw_xmit.c | 8 --- drivers/staging/r8188eu/hal/hal_intf.c | 1 - drivers/staging/r8188eu/hal/odm.c | 9 --- drivers/staging/r8188eu/hal/odm_interface.c | 10 --- drivers/staging/r8188eu/hal/usb_halinit.c | 1 - drivers/staging/r8188eu/include/drv_types.h | 4 +- .../staging/r8188eu/include/drv_types_linux.h | 7 --- drivers/staging/r8188eu/include/hal_intf.h | 1 + drivers/staging/r8188eu/include/odm_precomp.h | 4 -- .../staging/r8188eu/include/osdep_service.h | 12 ---- drivers/staging/r8188eu/include/rtw_led.h | 4 -- drivers/staging/r8188eu/include/rtw_mlme.h | 11 ++-- drivers/staging/r8188eu/include/rtw_qos.h | 14 ----- .../staging/r8188eu/include/rtw_security.h | 8 --- drivers/staging/r8188eu/include/rtw_version.h | 2 - drivers/staging/r8188eu/include/usb_hal.h | 10 --- drivers/staging/r8188eu/include/usb_ops.h | 16 ----- drivers/staging/r8188eu/include/wifi.h | 3 - drivers/staging/r8188eu/os_dep/ioctl_linux.c | 1 - drivers/staging/r8188eu/os_dep/mlme_linux.c | 63 ------------------- drivers/staging/r8188eu/os_dep/os_intfs.c | 3 - drivers/staging/r8188eu/os_dep/recv_linux.c | 16 ----- drivers/staging/r8188eu/os_dep/usb_intf.c | 4 +- 29 files changed, 12 insertions(+), 297 deletions(-) delete mode 100644 drivers/staging/r8188eu/include/drv_types_linux.h delete mode 100644 drivers/staging/r8188eu/include/rtw_qos.h delete mode 100644 drivers/staging/r8188eu/include/rtw_version.h delete mode 100644 drivers/staging/r8188eu/include/usb_hal.h -- 2.32.0