staging: rtl8192e: Remove unused variable last_ratr
last_ratr is written but never evaluated. Remove dead code. Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> Link: https://lore.kernel.org/r/2b91a8f4ec6184c2f16b8f65bdf65c69a4d17458.1696266964.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
4a0fc1c07d
commit
3390f2627b
@ -370,8 +370,6 @@ static void _rtl92e_dm_check_rate_adaptive(struct net_device *dev)
|
||||
ratr_value &= ~(RATE_ALL_OFDM_2SS);
|
||||
rtl92e_writel(dev, RATR0, ratr_value);
|
||||
rtl92e_writeb(dev, UFWP, 1);
|
||||
|
||||
pra->last_ratr = target_ratr;
|
||||
}
|
||||
|
||||
} else {
|
||||
|
@ -1164,7 +1164,6 @@ struct rate_adaptive {
|
||||
u8 ping_rssi_enable;
|
||||
u32 ping_rssi_ratr;
|
||||
u32 ping_rssi_thresh_for_ra;
|
||||
u32 last_ratr;
|
||||
u8 PreRATRState;
|
||||
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user