From 3990f4dcea12c5d54d8324904cdbf99a14012b96 Mon Sep 17 00:00:00 2001 From: Larry Finger Date: Mon, 22 Jul 2013 15:07:16 -0500 Subject: [PATCH] rtl8188eu: Remove CONFIG_HW_PWRP_DETECTION - not defined Signed-off-by: Larry Finger --- Makefile | 5 ----- os_dep/os_intfs.c | 4 ---- 2 files changed, 9 deletions(-) diff --git a/Makefile b/Makefile index 1b927fc..ec672d1 100644 --- a/Makefile +++ b/Makefile @@ -22,7 +22,6 @@ CONFIG_USB_HCI = y CONFIG_POWER_SAVING = y CONFIG_USB_AUTOSUSPEND = n -CONFIG_HW_PWRP_DETECTION = n CONFIG_BT_COEXIST = n CONFIG_WOWLAN = n @@ -101,10 +100,6 @@ ifeq ($(CONFIG_POWER_SAVING), y) EXTRA_CFLAGS += -DCONFIG_POWER_SAVING endif -ifeq ($(CONFIG_HW_PWRP_DETECTION), y) -EXTRA_CFLAGS += -DCONFIG_HW_PWRP_DETECTION -endif - ifeq ($(CONFIG_BT_COEXIST), y) EXTRA_CFLAGS += -DCONFIG_BT_COEXIST endif diff --git a/os_dep/os_intfs.c b/os_dep/os_intfs.c index d256066..f7cd8ae 100644 --- a/os_dep/os_intfs.c +++ b/os_dep/os_intfs.c @@ -123,11 +123,7 @@ static int rtw_enusbss = 0;//0:disable,1:enable static int rtw_hwpdn_mode=2;//0:disable,1:enable,2: by EFUSE config -#ifdef CONFIG_HW_PWRP_DETECTION -static int rtw_hwpwrp_detect = 1; -#else static int rtw_hwpwrp_detect = 0; //HW power ping detect 0:disable , 1:enable -#endif static int rtw_hw_wps_pbc = 1;