aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/dsa.h
diff options
context:
space:
mode:
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>2017-10-13 14:18:09 -0400
committerDavid S. Miller <davem@davemloft.net>2017-10-14 18:30:06 -0700
commit841f4f24053acad69240c6ab7427a1d24bc29491 (patch)
tree15cf27ce252e47bef6d1ec6da67fceeeee4c48e9 /include/net/dsa.h
parentnet: dsa: dsa_loop: remove .set_addr (diff)
downloadlinux-dev-841f4f24053acad69240c6ab7427a1d24bc29491.tar.xz
linux-dev-841f4f24053acad69240c6ab7427a1d24bc29491.zip
net: dsa: remove .set_addr
Now that there is no user for the .set_addr function, remove it from DSA. If a switch supports this feature (like mv88e6xxx), the implementation can be done in the driver setup. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/dsa.h')
-rw-r--r--include/net/dsa.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/dsa.h b/include/net/dsa.h
index ce1d622734d7..2746741f74cf 100644
--- a/include/net/dsa.h
+++ b/include/net/dsa.h
@@ -291,7 +291,6 @@ struct dsa_switch_ops {
enum dsa_tag_protocol (*get_tag_protocol)(struct dsa_switch *ds);
int (*setup)(struct dsa_switch *ds);
- int (*set_addr)(struct dsa_switch *ds, u8 *addr);
u32 (*get_phy_flags)(struct dsa_switch *ds, int port);
/*