aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2022-01-26 11:11:06 -0800
committerDavid S. Miller <davem@davemloft.net>2022-01-27 13:53:27 +0000
commitd59a67f2f3f39012271ed3d11c338706a011c5c2 (patch)
treee5b58e1f9028cb6b3eed057b01c71394b3b02720
parentudplite: remove udplite_csum_outgoing() (diff)
downloadlinux-dev-d59a67f2f3f39012271ed3d11c338706a011c5c2.tar.xz
linux-dev-d59a67f2f3f39012271ed3d11c338706a011c5c2.zip
netlink: remove nl_set_extack_cookie_u32()
Not used since v5.10. Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--include/linux/netlink.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/netlink.h b/include/linux/netlink.h
index 1ec631838af9..bda1c385cffb 100644
--- a/include/linux/netlink.h
+++ b/include/linux/netlink.h
@@ -135,15 +135,6 @@ static inline void nl_set_extack_cookie_u64(struct netlink_ext_ack *extack,
extack->cookie_len = sizeof(cookie);
}
-static inline void nl_set_extack_cookie_u32(struct netlink_ext_ack *extack,
- u32 cookie)
-{
- if (!extack)
- return;
- memcpy(extack->cookie, &cookie, sizeof(cookie));
- extack->cookie_len = sizeof(cookie);
-}
-
void netlink_kernel_release(struct sock *sk);
int __netlink_change_ngroups(struct sock *sk, unsigned int groups);
int netlink_change_ngroups(struct sock *sk, unsigned int groups);