mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
ad9360b3e5
commit
4baee937b8
2 changed files with 0 additions and 55 deletions
|
|
@ -116,13 +116,6 @@ struct dsa_switch_tree {
|
|||
s8 cpu_switch;
|
||||
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.
|
||||
*/
|
||||
|
|
@ -231,11 +224,6 @@ struct dsa_switch_driver {
|
|||
int (*phy_write)(struct dsa_switch *ds, int port,
|
||||
int regnum, u16 val);
|
||||
|
||||
/*
|
||||
* Link state polling and IRQ handling.
|
||||
*/
|
||||
void (*poll_link)(struct dsa_switch *ds);
|
||||
|
||||
/*
|
||||
* Link state adjustment (called from libphy)
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue