Skip to content

Commit 18aaa82

Browse files
tititiou36davem330
authored andcommitted
net: netlink: Remove the dump_cb_mutex field from struct netlink_sock
Commit 5fbf57a ("net: netlink: remove the cb_mutex "injection" from netlink core") has removed the usage of the 'dump_cb_mutex' field from the struct netlink_sock. Remove the field itself now. It saves a few bytes in the structure. Signed-off-by: Christophe JAILLET <[email protected]> Reviewed-by: Simon Horman <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 7d3aed6 commit 18aaa82

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

net/netlink/af_netlink.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ struct netlink_sock {
4141
struct netlink_callback cb;
4242
struct mutex nl_cb_mutex;
4343

44-
struct mutex *dump_cb_mutex;
4544
void (*netlink_rcv)(struct sk_buff *skb);
4645
int (*netlink_bind)(struct net *net, int group);
4746
void (*netlink_unbind)(struct net *net, int group);

0 commit comments

Comments
 (0)