summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorWillem de Bruijn <willemb@google.com>2014-07-26 02:01:30 +0400
committerDavid S. Miller <davem@davemloft.net>2014-07-29 22:39:49 +0400
commitce7505882122d9fd72159e902b1ca9cc9d896679 (patch)
treeb216cec226b47d86cdb096191b0723b485d52541 /drivers/net
parentc6d5fefaa35eda3dcab5c78a16def6ed555b685c (diff)
downloadlinux-ce7505882122d9fd72159e902b1ca9cc9d896679.tar.xz
vxge: remove deprecated syststamp timestamp
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>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/ethernet/neterion/vxge/vxge-main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/neterion/vxge/vxge-main.c b/drivers/net/ethernet/neterion/vxge/vxge-main.c
index 7a0deadd53bf..2eda153cb1e0 100644
--- a/drivers/net/ethernet/neterion/vxge/vxge-main.c
+++ b/drivers/net/ethernet/neterion/vxge/vxge-main.c
@@ -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