From: Fabio Aiuto Date: Tue, 15 Jun 2021 11:45:37 +0000 (+0200) Subject: staging: rtl8723bs: remove include/autoconf.h header file from tree X-Git-Tag: accepted/tizen/unified/20230118.172025~6889^2~97 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=56addfb0893c02d2b046d682a5cef1d8a76b574a;p=platform%2Fkernel%2Flinux-rpi.git staging: rtl8723bs: remove include/autoconf.h header file from tree remove include/autoconf.h header file from tree. It just contains a compiler configuration check which is not needed. Reviewed-by: Hans de Goede Signed-off-by: Fabio Aiuto Link: https://lore.kernel.org/r/9317fa8fd41da4668a41775207b5e6dad33e7447.1623756906.git.fabioaiuto83@gmail.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723bs/include/autoconf.h b/drivers/staging/rtl8723bs/include/autoconf.h deleted file mode 100644 index 8587b74..0000000 --- a/drivers/staging/rtl8723bs/include/autoconf.h +++ /dev/null @@ -1,14 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/****************************************************************************** - * - * Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved. - * - ******************************************************************************/ -#ifndef CONFIG_WIRELESS_EXT -#error CONFIG_WIRELESS_EXT needs to be enabled for this driver to work -#endif - -/* - * Auto Config Section - */ -#define LPS_RPWM_WAIT_MS 300 diff --git a/drivers/staging/rtl8723bs/include/drv_conf.h b/drivers/staging/rtl8723bs/include/drv_conf.h index 9cef9ce..9e8c37b 100644 --- a/drivers/staging/rtl8723bs/include/drv_conf.h +++ b/drivers/staging/rtl8723bs/include/drv_conf.h @@ -6,7 +6,6 @@ ******************************************************************************/ #ifndef __DRV_CONF_H__ #define __DRV_CONF_H__ -#include "autoconf.h" #define DYNAMIC_CAMID_ALLOC diff --git a/drivers/staging/rtl8723bs/include/drv_types.h b/drivers/staging/rtl8723bs/include/drv_types.h index 49b404e..cc0dac35 100644 --- a/drivers/staging/rtl8723bs/include/drv_types.h +++ b/drivers/staging/rtl8723bs/include/drv_types.h @@ -15,7 +15,6 @@ #define __DRV_TYPES_H__ #include -#include #include #include #include diff --git a/drivers/staging/rtl8723bs/include/rtl8723b_spec.h b/drivers/staging/rtl8723bs/include/rtl8723b_spec.h index 9995554..6816040 100644 --- a/drivers/staging/rtl8723bs/include/rtl8723b_spec.h +++ b/drivers/staging/rtl8723bs/include/rtl8723b_spec.h @@ -7,8 +7,6 @@ #ifndef __RTL8723B_SPEC_H__ #define __RTL8723B_SPEC_H__ -#include - #define HAL_NAV_UPPER_UNIT_8723B 128 /* micro-second */ /* */