diff options
author | Avinash Patil <patila@marvell.com> | 2014-02-19 03:47:56 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-02-25 00:21:54 +0400 |
commit | c1c2ce0ce3ffb4989506e03247ee80949a0bfa25 (patch) | |
tree | 75321f967e0b017cfcaddd85b6f19f78c778af04 /drivers/net/wireless | |
parent | 629873f22eadcd29f47969822eb640d3690116c8 (diff) | |
download | linux-c1c2ce0ce3ffb4989506e03247ee80949a0bfa25.tar.xz |
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>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/mwifiex/11n_rxreorder.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/mwifiex/11n_rxreorder.c b/drivers/net/wireless/mwifiex/11n_rxreorder.c index 1cfdbfe2b59f..eb17282b364f 100644 --- a/drivers/net/wireless/mwifiex/11n_rxreorder.c +++ b/drivers/net/wireless/mwifiex/11n_rxreorder.c @@ -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)); |