From 4cd1746aa746916db5aa5e351dcbfd54f2538637 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Fri, 30 Jul 2021 11:24:10 +0200 Subject: [PATCH] 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 --- 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 ea455b0..a97cced 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 fcbfc60..0000000 --- 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.7.4