Commit 18aaa82b authored by Christophe JAILLET's avatar Christophe JAILLET Committed by David S. Miller
Browse files

net: netlink: Remove the dump_cb_mutex field from struct netlink_sock



Commit 5fbf57a9 ("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: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: default avatarSimon Horman <horms@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 7d3aed65
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -41,7 +41,6 @@ struct netlink_sock {
	struct netlink_callback	cb;
	struct mutex		nl_cb_mutex;

	struct mutex		*dump_cb_mutex;
	void			(*netlink_rcv)(struct sk_buff *skb);
	int			(*netlink_bind)(struct net *net, int group);
	void			(*netlink_unbind)(struct net *net, int group);