diff options
| author | Vivien Didelot <[email protected]> | 2017-10-13 18:18:08 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-10-15 01:30:06 +0000 |
| commit | 93004a934bc19ea52b687d74482fd1bdd25e7b87 (patch) | |
| tree | 465ddd29339fc1f97fdbc8681df6f3f714f57a21 /drivers/net/dsa/dsa_loop.c | |
| parent | net: dsa: mv88e6060: setup random mac address (diff) | |
| download | kernel-93004a934bc19ea52b687d74482fd1bdd25e7b87.tar.gz kernel-93004a934bc19ea52b687d74482fd1bdd25e7b87.zip | |
net: dsa: dsa_loop: remove .set_addr
The .set_addr function does nothing, remove the dsa_loop implementation
before getting rid of it completely in DSA.
Signed-off-by: Vivien Didelot <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/dsa/dsa_loop.c')
| -rw-r--r-- | drivers/net/dsa/dsa_loop.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/net/dsa/dsa_loop.c b/drivers/net/dsa/dsa_loop.c index d55051abf4ed..3a3f4f7ba364 100644 --- a/drivers/net/dsa/dsa_loop.c +++ b/drivers/net/dsa/dsa_loop.c @@ -110,13 +110,6 @@ static void dsa_loop_get_ethtool_stats(struct dsa_switch *ds, int port, data[i] = ps->ports[port].mib[i].val; } -static int dsa_loop_set_addr(struct dsa_switch *ds, u8 *addr) -{ - dev_dbg(ds->dev, "%s\n", __func__); - - return 0; -} - static int dsa_loop_phy_read(struct dsa_switch *ds, int port, int regnum) { struct dsa_loop_priv *ps = ds->priv; @@ -263,7 +256,6 @@ static const struct dsa_switch_ops dsa_loop_driver = { .get_strings = dsa_loop_get_strings, .get_ethtool_stats = dsa_loop_get_ethtool_stats, .get_sset_count = dsa_loop_get_sset_count, - .set_addr = dsa_loop_set_addr, .phy_read = dsa_loop_phy_read, .phy_write = dsa_loop_phy_write, .port_bridge_join = dsa_loop_port_bridge_join, |
