summaryrefslogtreecommitdiff
path: root/include/linux/netlink.h
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2023-03-08 15:20:06 +0100
committerJakub Kicinski <kuba@kernel.org>2023-03-09 23:11:09 -0800
commit6978052448f9eb19f7b03243ac0416104e5ee50d (patch)
tree0cfe04fad5c5910e5110b790d2ce01c14389d1ab /include/linux/netlink.h
parentefb5b62d72719fd1df1f927542c58d1e21d69e19 (diff)
netlink: remove unused 'compare' function
No users in the tree. Tested with allmodconfig build. Signed-off-by: Florian Westphal <fw@strlen.de> Link: https://lore.kernel.org/r/20230308142006.20879-1-fw@strlen.de Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/netlink.h')
-rw-r--r--include/linux/netlink.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/netlink.h b/include/linux/netlink.h
index c43ac7690eca..3e8743252167 100644
--- a/include/linux/netlink.h
+++ b/include/linux/netlink.h
@@ -50,7 +50,6 @@ struct netlink_kernel_cfg {
struct mutex *cb_mutex;
int (*bind)(struct net *net, int group);
void (*unbind)(struct net *net, int group);
- bool (*compare)(struct net *net, struct sock *sk);
};
struct sock *__netlink_kernel_create(struct net *net, int unit,