Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 451f1443 authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller
Browse files

drivers: Kill now superfluous ->last_rx stores



The generic packet receive code takes care of setting
netdev->last_rx when necessary, for the sake of the
bonding ARP monitor.

Signed-off-by: default avatarEric Dumazet <eric.dumazet@gmail.com>
Acked-by: default avatarNeil Horman <nhorman@txudriver.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6ce9e7b5
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -663,8 +663,6 @@ static int fwnet_finish_incoming_packet(struct net_device *net,
	if (netif_queue_stopped(net))
		netif_wake_queue(net);

	net->last_rx = jiffies;

	return 0;
}

+0 −1
Original line number Diff line number Diff line
@@ -1301,7 +1301,6 @@ static void ether1394_iso(struct hpsb_iso *iso)

	hpsb_iso_recv_release_packets(iso, i);

	dev->last_rx = jiffies;
}

/******************************************
+0 −1
Original line number Diff line number Diff line
@@ -530,7 +530,6 @@ static void c2_rx_interrupt(struct net_device *netdev)

		netif_rx(skb);

		netdev->last_rx = jiffies;
		netdev->stats.rx_packets++;
		netdev->stats.rx_bytes += buflen;
	}
+1 −1
Original line number Diff line number Diff line
@@ -2741,7 +2741,7 @@ void nes_nic_ce_handler(struct nes_device *nesdev, struct nes_hw_nic_cq *cq)
				}

skip_rx_indicate0:
				nesvnic->netdev->last_rx = jiffies;
				;
				/* nesvnic->netstats.rx_packets++; */
				/* nesvnic->netstats.rx_bytes += rx_pkt_size; */
			}
+0 −1
Original line number Diff line number Diff line
@@ -663,7 +663,6 @@ void ipoib_cm_handle_rx_wc(struct net_device *dev, struct ib_wc *wc)
	skb_reset_mac_header(skb);
	skb_pull(skb, IPOIB_ENCAP_LEN);

	dev->last_rx = jiffies;
	++dev->stats.rx_packets;
	dev->stats.rx_bytes += skb->len;

Loading