diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2017-10-13 14:18:09 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-14 18:30:06 -0700 |
commit | 841f4f24053acad69240c6ab7427a1d24bc29491 (patch) | |
tree | 15cf27ce252e47bef6d1ec6da67fceeeee4c48e9 /include | |
parent | 93004a934bc19ea52b687d74482fd1bdd25e7b87 (diff) |
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')
-rw-r--r-- | include/net/dsa.h | 1 |
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); /* |