net: dsa: remove useless args of dsa_cpu_dsa_setup
dsa_cpu_dsa_setup currently takes 4 arguments but they are all available from the dsa_port argument. Remove all others. 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:

committed by
David S. Miller

parent
206e41fe7f
commit
47d0dcc354
@@ -101,8 +101,7 @@ struct dsa_slave_priv {
|
||||
};
|
||||
|
||||
/* dsa.c */
|
||||
int dsa_cpu_dsa_setup(struct dsa_switch *ds, struct device *dev,
|
||||
struct dsa_port *dport, int port);
|
||||
int dsa_cpu_dsa_setup(struct dsa_port *port);
|
||||
void dsa_cpu_dsa_destroy(struct dsa_port *dport);
|
||||
const struct dsa_device_ops *dsa_resolve_tag_protocol(int tag_protocol);
|
||||
int dsa_cpu_port_ethtool_setup(struct dsa_port *cpu_dp);
|
||||
|
Reference in New Issue
Block a user