diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2017-10-27 22:55:19 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-11-01 05:47:36 +0300 |
commit | 951259aa60180e2897d28b538bf68a3a213da471 (patch) | |
tree | aef0674ef932c1e00d293f695a998bf7604233db /net/dsa/dsa_priv.h | |
parent | 1838fa89a22cbc9ec87e995683e241a82d87e6df (diff) | |
download | linux-951259aa60180e2897d28b538bf68a3a213da471.tar.xz |
net: dsa: remove name arg from slave create
Now that slave dsa_port always have their name set, there is no need to
pass it to dsa_slave_create() anymore. Remove this argument.
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa/dsa_priv.h')
-rw-r--r-- | net/dsa/dsa_priv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dsa/dsa_priv.h b/net/dsa/dsa_priv.h index 1e65afd6989e..253a613c40cd 100644 --- a/net/dsa/dsa_priv.h +++ b/net/dsa/dsa_priv.h @@ -163,7 +163,7 @@ void dsa_port_fixed_link_unregister_of(struct dsa_port *dp); /* slave.c */ extern const struct dsa_device_ops notag_netdev_ops; void dsa_slave_mii_bus_init(struct dsa_switch *ds); -int dsa_slave_create(struct dsa_port *port, const char *name); +int dsa_slave_create(struct dsa_port *dp); void dsa_slave_destroy(struct net_device *slave_dev); int dsa_slave_suspend(struct net_device *slave_dev); int dsa_slave_resume(struct net_device *slave_dev); |