mwifiex: remove redundant del_timer
authorAvinash Patil <patila@marvell.com>
Tue, 18 Feb 2014 23:47:56 +0000 (15:47 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 24 Feb 2014 20:21:54 +0000 (15:21 -0500)
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>
drivers/net/wireless/mwifiex/11n_rxreorder.c

index 1cfdbfe..eb17282 100644 (file)
@@ -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));