lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-Id: <20210921194658.10654-8-straube.linux@gmail.com> Date: Tue, 21 Sep 2021 21:46:57 +0200 From: Michael Straube <straube.linux@...il.com> To: gregkh@...uxfoundation.org Cc: Larry.Finger@...inger.net, phil@...lpotter.co.uk, martin@...ser.cx, fmdefrancesco@...il.com, linux-staging@...ts.linux.dev, linux-kernel@...r.kernel.org, Michael Straube <straube.linux@...il.com> Subject: [PATCH 7/8] staging: r8188eu: remove DynamicTxHighPowerLvl from struct dm_priv The field DynamicTxHighPowerLvl of struct dm_priv is set but never used. Remove it and remove now unused variables from odm_DynamicTxPowerInit(). Signed-off-by: Michael Straube <straube.linux@...il.com> --- drivers/staging/r8188eu/hal/odm.c | 4 ---- drivers/staging/r8188eu/include/rtl8188e_dm.h | 3 --- 2 files changed, 7 deletions(-) diff --git a/drivers/staging/r8188eu/hal/odm.c b/drivers/staging/r8188eu/hal/odm.c index 555060bdfdd9..87f0ea84819a 100644 --- a/drivers/staging/r8188eu/hal/odm.c +++ b/drivers/staging/r8188eu/hal/odm.c @@ -1180,10 +1180,6 @@ bool ODM_RAStateCheck(struct odm_dm_struct *pDM_Odm, s32 RSSI, bool bForceUpdate void odm_DynamicTxPowerInit(struct odm_dm_struct *pDM_Odm) { - struct adapter *Adapter = pDM_Odm->Adapter; - struct hal_data_8188e *pHalData = GET_HAL_DATA(Adapter); - struct dm_priv *pdmpriv = &pHalData->dmpriv; - pdmpriv->DynamicTxHighPowerLvl = TxHighPwrLevel_Normal; } /* 3============================================================ */ diff --git a/drivers/staging/r8188eu/include/rtl8188e_dm.h b/drivers/staging/r8188eu/include/rtl8188e_dm.h index bfe300730c16..a4399b119a74 100644 --- a/drivers/staging/r8188eu/include/rtl8188e_dm.h +++ b/drivers/staging/r8188eu/include/rtl8188e_dm.h @@ -27,9 +27,6 @@ struct dm_priv { int EntryMaxUndecoratedSmoothedPWDB; int MinUndecoratedPWDBForDM; int LastMinUndecoratedPWDBForDM; - - /* for High Power */ - u8 DynamicTxHighPowerLvl;/* Tx Power Control for Near/Far Range */ }; void rtl8188e_init_dm_priv(struct adapter *adapt); -- 2.33.0
Powered by blists - more mailing lists