mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-15 15:15:47 +00:00
staging: r8188eu: EntryMaxUndecoratedSmoothedPWDB is set but not used
The variable EntryMaxUndecoratedSmoothedPWDB in struct dm_priv is set but not used. Remove it. Signed-off-by: Martin Kaiser <martin@kaiser.cx> Link: https://lore.kernel.org/r/20220122170547.68378-2-martin@kaiser.cx Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
f9e97a1500
commit
f2d8871d00
2 changed files with 1 additions and 7 deletions
|
@ -494,11 +494,6 @@ static void odm_RSSIMonitorCheck(struct odm_dm_struct *pDM_Odm)
|
|||
}
|
||||
}
|
||||
|
||||
if (tmpEntryMaxPWDB != 0) /* If associated entry is found */
|
||||
pdmpriv->EntryMaxUndecoratedSmoothedPWDB = tmpEntryMaxPWDB;
|
||||
else
|
||||
pdmpriv->EntryMaxUndecoratedSmoothedPWDB = 0;
|
||||
|
||||
if (tmpEntryMinPWDB != 0xff) /* If associated entry is found */
|
||||
pdmpriv->EntryMinUndecoratedSmoothedPWDB = tmpEntryMinPWDB;
|
||||
else
|
||||
|
|
|
@ -12,9 +12,8 @@ enum{
|
|||
struct dm_priv {
|
||||
u32 InitODMFlag;
|
||||
|
||||
/* Upper and Lower Signal threshold for Rate Adaptive*/
|
||||
/* Lower Signal threshold for Rate Adaptive */
|
||||
int EntryMinUndecoratedSmoothedPWDB;
|
||||
int EntryMaxUndecoratedSmoothedPWDB;
|
||||
int MinUndecoratedPWDBForDM;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue