No one uses this file, so just remove it. Also remove the pointless Makefile rule that was attempting to create it. Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- drivers/staging/r8188eu/Makefile | 7 ------ drivers/staging/r8188eu/include/autoconf.h | 26 ---------------------- 2 files changed, 33 deletions(-) delete mode 100644 drivers/staging/r8188eu/include/autoconf.h diff --git a/drivers/staging/r8188eu/Makefile b/drivers/staging/r8188eu/Makefile index ea455b0939bf..a97cced2e61a 100644 --- a/drivers/staging/r8188eu/Makefile +++ b/drivers/staging/r8188eu/Makefile @@ -15,8 +15,6 @@ EXTRA_CFLAGS += -I$(src)/include ccflags-y += -D__CHECK_ENDIAN__ -CONFIG_AUTOCFG_CP = n - CONFIG_R8188EU = m CONFIG_USB_HCI = y @@ -72,11 +70,6 @@ _OS_INTFS_FILES := \ _HAL_INTFS_FILES += $(OUTSRC_FILES) -ifeq ($(CONFIG_AUTOCFG_CP), y) - -$(shell cp $(TopDIR)/autoconf_rtl8188e_usb_linux.h $(TopDIR)/include/autoconf.h) -endif - ifeq ($(CONFIG_BT_COEXIST), y) EXTRA_CFLAGS += -DCONFIG_BT_COEXIST endif diff --git a/drivers/staging/r8188eu/include/autoconf.h b/drivers/staging/r8188eu/include/autoconf.h deleted file mode 100644 index fcbfc60fad5a..000000000000 --- a/drivers/staging/r8188eu/include/autoconf.h +++ /dev/null @@ -1,26 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ -/* Copyright(c) 2007 - 2011 Realtek Corporation.*/ - -/* temporarily flag ******* */ -/* - * Public General Config - */ -#define RTL871X_MODULE_NAME "88EU" -#define DRV_NAME "rtl8188eu" - -/* - * Internal General Config - */ - -#define CONFIG_AP_MODE - -#define CONFIG_P2P - -#define RTW_NOTCH_FILTER 0 /* 0:Disable, 1:Enable, */ - -#define CONFIG_BR_EXT_BRNAME "br0" - -/* - * Debug Related Config - */ -#define DBG 1 -- 2.32.0