staging: rtl8723bs: remove set but not used variable 'pszBBRegMpFile'
Fixes gcc '-Wunused-but-set-variable' warning: drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c: In function phy_BB8723b_Config_ParaFile: drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:436:77: warning: variable pszBBRegMpFile set but not used [-Wunused-but-set-variable] It is never used so can be removed. Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: YueHaibing <yuehaibing@huawei.com> Link: https://lore.kernel.org/r/20190726140734.39564-1-yuehaibing@huawei.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
07ca9aa4a4
commit
30833b4b4b
|
@ -431,14 +431,12 @@ static int phy_BB8723b_Config_ParaFile(struct adapter *Adapter)
|
||||||
u8 sz8723BBRegFile[] = RTL8723B_PHY_REG;
|
u8 sz8723BBRegFile[] = RTL8723B_PHY_REG;
|
||||||
u8 sz8723AGCTableFile[] = RTL8723B_AGC_TAB;
|
u8 sz8723AGCTableFile[] = RTL8723B_AGC_TAB;
|
||||||
u8 sz8723BBBRegPgFile[] = RTL8723B_PHY_REG_PG;
|
u8 sz8723BBBRegPgFile[] = RTL8723B_PHY_REG_PG;
|
||||||
u8 sz8723BBRegMpFile[] = RTL8723B_PHY_REG_MP;
|
|
||||||
u8 sz8723BRFTxPwrLmtFile[] = RTL8723B_TXPWR_LMT;
|
u8 sz8723BRFTxPwrLmtFile[] = RTL8723B_TXPWR_LMT;
|
||||||
u8 *pszBBRegFile = NULL, *pszAGCTableFile = NULL, *pszBBRegPgFile = NULL, *pszBBRegMpFile = NULL, *pszRFTxPwrLmtFile = NULL;
|
u8 *pszBBRegFile = NULL, *pszAGCTableFile = NULL, *pszBBRegPgFile = NULL, *pszRFTxPwrLmtFile = NULL;
|
||||||
|
|
||||||
pszBBRegFile = sz8723BBRegFile;
|
pszBBRegFile = sz8723BBRegFile;
|
||||||
pszAGCTableFile = sz8723AGCTableFile;
|
pszAGCTableFile = sz8723AGCTableFile;
|
||||||
pszBBRegPgFile = sz8723BBBRegPgFile;
|
pszBBRegPgFile = sz8723BBBRegPgFile;
|
||||||
pszBBRegMpFile = sz8723BBRegMpFile;
|
|
||||||
pszRFTxPwrLmtFile = sz8723BRFTxPwrLmtFile;
|
pszRFTxPwrLmtFile = sz8723BRFTxPwrLmtFile;
|
||||||
|
|
||||||
/* Read Tx Power Limit File */
|
/* Read Tx Power Limit File */
|
||||||
|
|
Loading…
Reference in New Issue