aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/bpfilter.h
diff options
context:
space:
mode:
authorJarkko Sakkinen <jarkko@kernel.org>2023-05-26 14:21:02 +0300
committerDaniel Borkmann <daniel@iogearbox.net>2023-05-31 13:06:57 +0200
commit9b68f30b68701e98abcec331a2cf3df972d910f8 (patch)
tree64a340c2b38b9c1f5dcc3aecff267bf4a12859a8 /include/linux/bpfilter.h
parentbpf: Replace all non-returning strlcpy with strscpy (diff)
downloadlinux-rng-9b68f30b68701e98abcec331a2cf3df972d910f8.tar.xz
linux-rng-9b68f30b68701e98abcec331a2cf3df972d910f8.zip
net: Use umd_cleanup_helper()
bpfilter_umh_cleanup() is the same function as umd_cleanup_helper(). Drop the redundant function. Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20230526112104.1044686-1-jarkko@kernel.org
Diffstat (limited to 'include/linux/bpfilter.h')
-rw-r--r--include/linux/bpfilter.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/bpfilter.h b/include/linux/bpfilter.h
index 2ae3c8e1d83c..736ded4905e0 100644
--- a/include/linux/bpfilter.h
+++ b/include/linux/bpfilter.h
@@ -11,7 +11,6 @@ int bpfilter_ip_set_sockopt(struct sock *sk, int optname, sockptr_t optval,
unsigned int optlen);
int bpfilter_ip_get_sockopt(struct sock *sk, int optname, char __user *optval,
int __user *optlen);
-void bpfilter_umh_cleanup(struct umd_info *info);
struct bpfilter_umh_ops {
struct umd_info info;