mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 23:04:43 +00:00
net: dsa: remove useless args of dsa_slave_create
dsa_slave_create currently takes 4 arguments while it only needs the related dsa_port and its name. Remove all other arguments. 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>
This commit is contained in:
parent
47d0dcc354
commit
4cfbf09cf9
4 changed files with 10 additions and 11 deletions
|
@ -148,8 +148,7 @@ int dsa_port_vlan_dump(struct dsa_port *dp,
|
|||
extern const struct dsa_device_ops notag_netdev_ops;
|
||||
void dsa_slave_mii_bus_init(struct dsa_switch *ds);
|
||||
void dsa_cpu_port_ethtool_init(struct ethtool_ops *ops);
|
||||
int dsa_slave_create(struct dsa_switch *ds, struct device *parent,
|
||||
int port, const char *name);
|
||||
int dsa_slave_create(struct dsa_port *port, const char *name);
|
||||
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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue