summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/rocker/rocker.h
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2016-03-12 14:03:27 +0300
committerDavid S. Miller <davem@davemloft.net>2016-03-13 04:11:13 +0300
commit3a8befcd7872f572882ad7e14994a17f9b55dd4e (patch)
tree85670dab202d5ace63d31e7314829ec39bb33fa2 /drivers/net/ethernet/rocker/rocker.h
parent2aa45984c2180eecbbc9cc4e1321243308f41a01 (diff)
downloadlinux-3a8befcd7872f572882ad7e14994a17f9b55dd4e.tar.xz
rocker: move ageing_time from struct rocker to struct ofdpa
This is OF-DPA specific, used only there, similar to ofdpa_port->ageing_time. So move it to OF-DPA code. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/rocker/rocker.h')
-rw-r--r--drivers/net/ethernet/rocker/rocker.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/rocker/rocker.h b/drivers/net/ethernet/rocker/rocker.h
index 011f1b6f91bb..1ab995f7146b 100644
--- a/drivers/net/ethernet/rocker/rocker.h
+++ b/drivers/net/ethernet/rocker/rocker.h
@@ -63,7 +63,6 @@ struct rocker {
struct {
u64 id;
} hw;
- unsigned long ageing_time;
spinlock_t cmd_ring_lock; /* for cmd ring accesses */
struct rocker_dma_ring_info cmd_ring;
struct rocker_dma_ring_info event_ring;