mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 10:20:17 -04: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:
committed by
Greg Kroah-Hartman
parent
f9e97a1500
commit
f2d8871d00
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user