mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-20 23:38:21 +07:00
mwifiex: remove redundant del_timer
While modifying timer, we need not delete timer. Signed-off-by: Avinash Patil <patila@marvell.com> Signed-off-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
629873f22e
commit
c1c2ce0ce3
@ -466,7 +466,6 @@ int mwifiex_11n_rx_reorder_pkt(struct mwifiex_private *priv,
|
||||
start_win = tbl->start_win;
|
||||
win_size = tbl->win_size;
|
||||
end_win = ((start_win + win_size) - 1) & (MAX_TID_VALUE - 1);
|
||||
del_timer(&tbl->timer_context.timer);
|
||||
mod_timer(&tbl->timer_context.timer,
|
||||
jiffies + msecs_to_jiffies(MIN_FLUSH_TIMER_MS * win_size));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user