diff options
author | Bogdan Hamciuc <bogdan.hamciuc@freescale.com> | 2012-10-19 09:14:54 (GMT) |
---|---|---|
committer | Fleming Andrew-AFLEMING <AFLEMING@freescale.com> | 2013-04-08 23:14:02 (GMT) |
commit | 6426ed3e1ee56ee41b3e775e9a328c43bd11a42d (patch) | |
tree | cf89ad7e996b24476161a65da7924f479cfbe296 /drivers/net/ethernet/freescale/dpa/dpaa_eth_sg.c | |
parent | a73f1d511e639ee025ddd606f4d08ec3a8aefa6d (diff) | |
download | linux-fsl-qoriq-6426ed3e1ee56ee41b3e775e9a328c43bd11a42d.tar.xz |
dpaa_eth: No longer set netdev->last_rx
The documentation of the net_device->last_rx field advises against the
driver setting it, unless there is an explicit reason to do so.
Change-Id: Ic8cd480eeae2cbf42d6ddb09e99bcf2912cad84c
Signed-off-by: Bogdan Hamciuc <bogdan.hamciuc@freescale.com>
(cherry picked from commit 327cdbc91f173c3866a1ef5c83daab852d630c9c)
Reviewed-on: http://git.am.freescale.net:8181/1045
Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Tested-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Diffstat (limited to 'drivers/net/ethernet/freescale/dpa/dpaa_eth_sg.c')
-rw-r--r-- | drivers/net/ethernet/freescale/dpa/dpaa_eth_sg.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/freescale/dpa/dpaa_eth_sg.c b/drivers/net/ethernet/freescale/dpa/dpaa_eth_sg.c index 067318c..cabf9dc 100644 --- a/drivers/net/ethernet/freescale/dpa/dpaa_eth_sg.c +++ b/drivers/net/ethernet/freescale/dpa/dpaa_eth_sg.c @@ -533,7 +533,6 @@ void __hot _dpa_rx(struct net_device *net_dev, percpu_priv->stats.rx_bytes += skb_len; packet_dropped: - net_dev->last_rx = jiffies; return; drop_bad_frame: |