From: Greg Kroah-Hartman Date: Fri, 30 Jul 2021 09:24:10 +0000 (+0200) Subject: staging: r8188eu: remove include/autoconf.h X-Git-Tag: libata-5.15-2021-09-05~48^2~319 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=4cd1746aa746916db5aa5e351dcbfd54f2538637;p=linux-block.git staging: r8188eu: remove include/autoconf.h No one uses this file, so just remove it. Also remove the pointless Makefile rule that was attempting to create it. Link: https://lore.kernel.org/r/20210730092417.1014392-5-gregkh@linuxfoundation.org Signed-off-by: Greg Kroah-Hartman --- 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