diff options
| author | Veaceslav Falico <vfalico@redhat.com> | 2014-02-18 01:48:45 -0500 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2014-02-18 16:47:15 -0500 |
| commit | f8ff080dacecc5d0ce3579941b664bac3a4405c2 (patch) | |
| tree | f0652419dffc69109d4f36c4c1e78d3ec1a5fc5d /include | |
| parent | ff71529da40eee34458b1c3d62ca158a13e99b4d (diff) | |
bonding: remove useless updating of slave->dev->last_rx
Now that all the logic is handled via last_arp_rx, we don't need to use
last_rx.
CC: Jay Vosburgh <fubar@us.ibm.com>
CC: Andy Gospodarek <andy@greyhouse.net>
CC: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Veaceslav Falico <vfalico@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/netdevice.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 430c51aed6a4..891432a994c0 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
| @@ -1312,13 +1312,7 @@ struct net_device { | |||
| 1312 | /* | 1312 | /* |
| 1313 | * Cache lines mostly used on receive path (including eth_type_trans()) | 1313 | * Cache lines mostly used on receive path (including eth_type_trans()) |
| 1314 | */ | 1314 | */ |
| 1315 | unsigned long last_rx; /* Time of last Rx | 1315 | unsigned long last_rx; /* Time of last Rx */ |
| 1316 | * This should not be set in | ||
| 1317 | * drivers, unless really needed, | ||
| 1318 | * because network stack (bonding) | ||
| 1319 | * use it if/when necessary, to | ||
| 1320 | * avoid dirtying this cache line. | ||
| 1321 | */ | ||
| 1322 | 1316 | ||
| 1323 | /* Interface address info used in eth_type_trans() */ | 1317 | /* Interface address info used in eth_type_trans() */ |
| 1324 | unsigned char *dev_addr; /* hw address, (before bcast | 1318 | unsigned char *dev_addr; /* hw address, (before bcast |
