]> Pileus Git - ~andy/linux/blobdiff - net/bridge/br_mdb.c
rtnetlink: Remove passing of attributes into rtnl_doit functions
[~andy/linux] / net / bridge / br_mdb.c
index ee79f3f20383c9112ff2685ef10b6d69a1d40c97..19942e38fd2d93904522d10209dd7ae3a2d403c3 100644 (file)
@@ -382,7 +382,7 @@ static int __br_mdb_add(struct net *net, struct net_bridge *br,
        return ret;
 }
 
-static int br_mdb_add(struct sk_buff *skb, struct nlmsghdr *nlh, void *arg)
+static int br_mdb_add(struct sk_buff *skb, struct nlmsghdr *nlh)
 {
        struct net *net = sock_net(skb->sk);
        struct br_mdb_entry *entry;
@@ -458,7 +458,7 @@ unlock:
        return err;
 }
 
-static int br_mdb_del(struct sk_buff *skb, struct nlmsghdr *nlh, void *arg)
+static int br_mdb_del(struct sk_buff *skb, struct nlmsghdr *nlh)
 {
        struct net_device *dev;
        struct br_mdb_entry *entry;