mwifiex: remove redundant timestamp assignment
authorAmitkumar Karwar <akarwar@marvell.com>
Mon, 14 Dec 2015 12:15:09 +0000 (04:15 -0800)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 30 Dec 2015 14:58:00 +0000 (16:58 +0200)
During AMSDU aggregation, we are already using timestamp
value of a first packet being aggregated. This patch removes
redundant ktime_get_real() call.

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/11n_aggr.c

index aa498e0..1efef3b 100644 (file)
@@ -203,8 +203,6 @@ mwifiex_11n_aggregate_pkt(struct mwifiex_private *priv,
        skb_aggr->priority = skb_src->priority;
        skb_aggr->tstamp = skb_src->tstamp;
 
-       skb_aggr->tstamp = ktime_get_real();
-
        do {
                /* Check if AMSDU can accommodate this MSDU */
                if (skb_tailroom(skb_aggr) < (skb_src->len + LLC_SNAP_LEN))