staging: r8188eu: Remove header file include/rtw_version.h
authorLarry Finger <Larry.Finger@lwfinger.net>
Thu, 29 Jul 2021 17:09:29 +0000 (12:09 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 30 Jul 2021 08:22:34 +0000 (10:22 +0200)
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 <Larry.Finger@lwfinger.net>
Link: https://lore.kernel.org/r/20210729170930.23171-6-Larry.Finger@lwfinger.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_debug.c
drivers/staging/r8188eu/include/drv_types.h
drivers/staging/r8188eu/include/rtw_version.h [deleted file]
drivers/staging/r8188eu/os_dep/ioctl_linux.c
drivers/staging/r8188eu/os_dep/os_intfs.c
drivers/staging/r8188eu/os_dep/usb_intf.c

index 522fd59c2d50c9f2e04b70ed02dc2ad186a3cf7e..a0ca61d8c3b858d402d52ad7f86f8b7f9eacaaee 100644 (file)
@@ -4,7 +4,7 @@
 #define _RTW_DEBUG_C_
 
 #include <rtw_debug.h>
-#include <rtw_version.h>
+#include <drv_types.h>
 
 int proc_get_drv_version(char *page, char **start,
                          off_t offset, int count,
index 0acc5847a6024e57f384d1feafcb31c81e1000d8..d407d9274a787a800c6d5636efba49233ee27dd4 100644 (file)
@@ -38,6 +38,8 @@
 #include <rtw_mp.h>
 #include <rtw_br_ext.h>
 
+#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 (file)
index 4ca74a9..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
-#define DRIVERVERSION  "v4.1.4_6773.20130222"
index 37973930845d9d555f43455a33a1549c247b7d10..109389549435b40748219fc23df73a2481ba3719 100644 (file)
@@ -14,7 +14,6 @@
 #include <rtw_ioctl_set.h>
 #include <rtw_mp_ioctl.h>
 #include <usb_ops.h>
-#include <rtw_version.h>
 #include <rtl8188e_hal.h>
 
 #include <rtw_mp.h>
index 34af5237d9e625cf287b2110d3d7d79c9c0dab2a..cf92dc2a4fccecdf6b414a2ab2c2a0bca3d8c458 100644 (file)
@@ -9,7 +9,6 @@
 #include <recv_osdep.h>
 #include <hal_intf.h>
 #include <rtw_ioctl.h>
-#include <rtw_version.h>
 
 #include <usb_osintf.h>
 #include <rtw_br_ext.h>
index 905a08ebd80d72e475264ebd4e482f22de03f6b9..7db33946e418ad5a372de18d5ec3b5adf5682b4d 100644 (file)
@@ -8,7 +8,6 @@
 #include <recv_osdep.h>
 #include <xmit_osdep.h>
 #include <hal_intf.h>
-#include <rtw_version.h>
 #include <linux/usb.h>
 #include <osdep_intf.h>