vxge: remove deprecated syststamp timestamp
authorWillem de Bruijn <willemb@google.com>
Fri, 25 Jul 2014 22:01:30 +0000 (18:01 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Jul 2014 18:39:49 +0000 (11:39 -0700)
This driver explicitly clears a field that is unused and about to be
removed. Remove the initialization.

All fields in skb_shared_info before dataref are cleared in
__alloc_skb, so the removal is safe even while syststamp exists.

Signed-off-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/neterion/vxge/vxge-main.c

index 7a0dead..2eda153 100644 (file)
@@ -503,7 +503,6 @@ vxge_rx_1b_compl(struct __vxge_hw_ring *ringh, void *dtr,
 
                        skb_hwts = skb_hwtstamps(skb);
                        skb_hwts->hwtstamp = ns_to_ktime(ns);
-                       skb_hwts->syststamp.tv64 = 0;
                }
 
                /* rth_hash_type and rth_it_hit are non-zero regardless of