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 aa498e0d2204b82b53ecd39a1da4aed9bf5ba9ba..1efef3b8273d12e12f47b7c4e7bebb42610463ac 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))