summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2017-10-04 15:55:29 +0200
committerDavid S. Miller <davem@davemloft.net>2017-10-04 10:33:59 -0700
commite774d96b7d2c3489bfb5bbdc2b65ed41cd68d3d5 (patch)
tree1413590f0cd5bfda544e18d21f7fc2d8b0b33203 /net
parentebf6b13142f947be576b40edce214788dfe1d3e3 (diff)
rtnetlink: remove slave_validate callback
no users in the tree. Signed-off-by: Florian Westphal <fw@strlen.de> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/core/rtnetlink.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/net/core/rtnetlink.c b/net/core/rtnetlink.c
index 3961f87cdc76..b63c5759641f 100644
--- a/net/core/rtnetlink.c
+++ b/net/core/rtnetlink.c
@@ -2631,12 +2631,6 @@ replay:
return err;
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) {