summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/tile
diff options
context:
space:
mode:
authorfrançois romieu <romieu@fr.zoreil.com>2015-05-14 20:17:22 +0200
committerDavid S. Miller <davem@davemloft.net>2015-05-14 17:38:17 -0400
commit4ffd3c730e7ba2eb53a427f1a2bba2eec5f2d97b (patch)
tree726800d73bd04c819e9fa788a03e89d49bb8a14f /drivers/net/ethernet/tile
parent7852dada15ecc8fab1447fab9f075046b5f11e50 (diff)
downloadtalos-obmc-linux-4ffd3c730e7ba2eb53a427f1a2bba2eec5f2d97b.tar.gz
talos-obmc-linux-4ffd3c730e7ba2eb53a427f1a2bba2eec5f2d97b.zip
net: batch of last_rx update avoidance in ethernet drivers.
None of those drivers uses last_rx for its own needs. See 4dc89133f49b8cfd77ba7e83f5960aed63aaa99e ("net: add a comment on netdev->last_rx") for reference. Signed-off-by: Francois Romieu <romieu@fr.zoreil.com> Cc: Tom Lendacky <thomas.lendacky@amd.com> Cc: Zhangfei Gao <zhangfei.gao@linaro.org> Cc: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Cc: Wingman Kwok <w-kwok2@ti.com> Cc: Murali Karicheri <m-karicheri2@ti.com> Cc: Chris Metcalf <cmetcalf@tilera.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/tile')
-rw-r--r--drivers/net/ethernet/tile/tilepro.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/ethernet/tile/tilepro.c b/drivers/net/ethernet/tile/tilepro.c
index 3d8f60d9643e..6f0a4495c7f3 100644
--- a/drivers/net/ethernet/tile/tilepro.c
+++ b/drivers/net/ethernet/tile/tilepro.c
@@ -721,9 +721,6 @@ static bool tile_net_poll_aux(struct tile_net_cpu *info, int index)
if (!hash_default)
__inv_buffer(buf, len);
- /* ISSUE: Is this needed? */
- dev->last_rx = jiffies;
-
#ifdef TILE_NET_DUMP_PACKETS
dump_packet(buf, len, "rx");
#endif /* TILE_NET_DUMP_PACKETS */
OpenPOWER on IntegriCloud