Commit e774d96b authored by Florian Westphal's avatar Florian Westphal Committed by David S. Miller

rtnetlink: remove slave_validate callback

no users in the tree.
Signed-off-by: default avatarFlorian Westphal <fw@strlen.de>
Acked-by: default avatarJiri Pirko <jiri@mellanox.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ebf6b131
...@@ -93,9 +93,6 @@ struct rtnl_link_ops { ...@@ -93,9 +93,6 @@ struct rtnl_link_ops {
int slave_maxtype; int slave_maxtype;
const struct nla_policy *slave_policy; const struct nla_policy *slave_policy;
int (*slave_validate)(struct nlattr *tb[],
struct nlattr *data[],
struct netlink_ext_ack *extack);
int (*slave_changelink)(struct net_device *dev, int (*slave_changelink)(struct net_device *dev,
struct net_device *slave_dev, struct net_device *slave_dev,
struct nlattr *tb[], struct nlattr *tb[],
......
...@@ -2631,12 +2631,6 @@ static int rtnl_newlink(struct sk_buff *skb, struct nlmsghdr *nlh, ...@@ -2631,12 +2631,6 @@ static int rtnl_newlink(struct sk_buff *skb, struct nlmsghdr *nlh,
return err; return err;
slave_data = slave_attr; slave_data = slave_attr;
} }
if (m_ops->slave_validate) {
err = m_ops->slave_validate(tb, slave_data,
extack);
if (err < 0)
return err;
}
} }
if (dev) { if (dev) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment