summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorNeil Armstrong <narmstrong@baylibre.com>2015-12-07 13:57:32 +0100
committerDavid S. Miller <davem@davemloft.net>2015-12-07 16:35:49 -0500
commit4baee937b8d551c89f61542a575378e407b63415 (patch)
tree0f14283ffe41a2e3c1469a5fdaa9047437fec0aa /include
parentad9360b3e5d428d859256390906dff64f2ddc290 (diff)
downloadlinux-4baee937b8d551c89f61542a575378e407b63415.tar.gz
linux-4baee937b8d551c89f61542a575378e407b63415.tar.bz2
linux-4baee937b8d551c89f61542a575378e407b63415.zip
net: dsa: remove DSA link polling
Since no more DSA driver uses the polling callback, and since the phylib handles the link detection, remove the link polling work and timer code. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/net/dsa.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/net/dsa.h b/include/net/dsa.h
index 3f23dd9d6a69..26a0e86e611e 100644
--- a/include/net/dsa.h
+++ b/include/net/dsa.h
@@ -117,13 +117,6 @@ struct dsa_switch_tree {
s8 cpu_port;
/*
- * Link state polling.
- */
- int link_poll_needed;
- struct work_struct link_poll_work;
- struct timer_list link_poll_timer;
-
- /*
* Data for the individual switch chips.
*/
struct dsa_switch *ds[DSA_MAX_SWITCHES];
@@ -232,11 +225,6 @@ struct dsa_switch_driver {
int regnum, u16 val);
/*
- * Link state polling and IRQ handling.
- */
- void (*poll_link)(struct dsa_switch *ds);
-
- /*
* Link state adjustment (called from libphy)
*/
void (*adjust_link)(struct dsa_switch *ds, int port,