From: Michael Straube Date: Wed, 8 Sep 2021 22:39:01 +0000 (+0200) Subject: staging: r8188eu: remove unused PHY_ScanOperationBackup8188E() X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=8e82b76458579d1bb4fcc2c5aa02a0aa167e29d1;p=linux.git staging: r8188eu: remove unused PHY_ScanOperationBackup8188E() Function PHY_ScanOperationBackup8188E() is unused and empty, remove it. Signed-off-by: Michael Straube Link: https://lore.kernel.org/r/20210908223903.10516-3-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/r8188eu/hal/rtl8188e_phycfg.c b/drivers/staging/r8188eu/hal/rtl8188e_phycfg.c index 7542a83988868..d3564181542d9 100644 --- a/drivers/staging/r8188eu/hal/rtl8188e_phycfg.c +++ b/drivers/staging/r8188eu/hal/rtl8188e_phycfg.c @@ -830,14 +830,6 @@ PHY_UpdateTxPowerDbm8188E( return true; } -void -PHY_ScanOperationBackup8188E( - struct adapter *Adapter, - u8 Operation - ) -{ -} - /*----------------------------------------------------------------------------- * Function: PHY_SetBWModeCallback8192C() * diff --git a/drivers/staging/r8188eu/include/Hal8188EPhyCfg.h b/drivers/staging/r8188eu/include/Hal8188EPhyCfg.h index df3d3f5169963..1799d9aeaa3ca 100644 --- a/drivers/staging/r8188eu/include/Hal8188EPhyCfg.h +++ b/drivers/staging/r8188eu/include/Hal8188EPhyCfg.h @@ -192,8 +192,6 @@ void rtl8192c_PHY_GetHWRegOriginalValue(struct adapter *adapter); void PHY_SetTxPowerLevel8188E(struct adapter *adapter, u8 channel); bool PHY_UpdateTxPowerDbm8188E(struct adapter *adapter, int power); -void PHY_ScanOperationBackup8188E(struct adapter *Adapter, u8 Operation); - /* Switch bandwidth for 8192S */ void PHY_SetBWMode8188E(struct adapter *adapter, enum ht_channel_width chnlwidth, unsigned char offset);