From: Larry Finger Date: Thu, 29 Jul 2021 17:09:29 +0000 (-0500) Subject: staging: r8188eu: Remove header file include/rtw_version.h X-Git-Tag: v5.15-rc1~154^2~334 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3cb9b23d8b16434e7ec3c086e885f5de63ee60ff;p=thirdparty%2Fkernel%2Flinux.git staging: r8188eu: Remove header file include/rtw_version.h This file contains only the definition of the driver version. This statement is moved into a header called by all the affected source files, and the now empty header is deleted. Signed-off-by: Larry Finger Link: https://lore.kernel.org/r/20210729170930.23171-6-Larry.Finger@lwfinger.net Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/r8188eu/core/rtw_debug.c b/drivers/staging/r8188eu/core/rtw_debug.c index 522fd59c2d50c..a0ca61d8c3b85 100644 --- a/drivers/staging/r8188eu/core/rtw_debug.c +++ b/drivers/staging/r8188eu/core/rtw_debug.c @@ -4,7 +4,7 @@ #define _RTW_DEBUG_C_ #include -#include +#include int proc_get_drv_version(char *page, char **start, off_t offset, int count, diff --git a/drivers/staging/r8188eu/include/drv_types.h b/drivers/staging/r8188eu/include/drv_types.h index 0acc5847a6024..d407d9274a787 100644 --- a/drivers/staging/r8188eu/include/drv_types.h +++ b/drivers/staging/r8188eu/include/drv_types.h @@ -38,6 +38,8 @@ #include #include +#define DRIVERVERSION "v4.1.4_6773.20130222" + enum _NIC_VERSION { RTL8711_NIC, RTL8712_NIC, diff --git a/drivers/staging/r8188eu/include/rtw_version.h b/drivers/staging/r8188eu/include/rtw_version.h deleted file mode 100644 index 4ca74a9465fe9..0000000000000 --- a/drivers/staging/r8188eu/include/rtw_version.h +++ /dev/null @@ -1,2 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ -#define DRIVERVERSION "v4.1.4_6773.20130222" diff --git a/drivers/staging/r8188eu/os_dep/ioctl_linux.c b/drivers/staging/r8188eu/os_dep/ioctl_linux.c index 37973930845d9..109389549435b 100644 --- a/drivers/staging/r8188eu/os_dep/ioctl_linux.c +++ b/drivers/staging/r8188eu/os_dep/ioctl_linux.c @@ -14,7 +14,6 @@ #include #include #include -#include #include #include diff --git a/drivers/staging/r8188eu/os_dep/os_intfs.c b/drivers/staging/r8188eu/os_dep/os_intfs.c index 34af5237d9e62..cf92dc2a4fcce 100644 --- a/drivers/staging/r8188eu/os_dep/os_intfs.c +++ b/drivers/staging/r8188eu/os_dep/os_intfs.c @@ -9,7 +9,6 @@ #include #include #include -#include #include #include diff --git a/drivers/staging/r8188eu/os_dep/usb_intf.c b/drivers/staging/r8188eu/os_dep/usb_intf.c index 905a08ebd80d7..7db33946e418a 100644 --- a/drivers/staging/r8188eu/os_dep/usb_intf.c +++ b/drivers/staging/r8188eu/os_dep/usb_intf.c @@ -8,7 +8,6 @@ #include #include #include -#include #include #include