linux/net/netlink
Andy Shevchenko b8e39b3848 netlink: Make use of __assign_bit() API
We have for some time the __assign_bit() API to replace open coded

	if (foo)
		__set_bit(n, bar);
	else
		__clear_bit(n, bar);

Use this API in the code. No functional change intended.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Alexander Lobakin <aleksander.lobakin@intel.com>
Message-ID: <20230710100830.89936-2-andriy.shevchenko@linux.intel.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2023-07-11 12:23:15 +02:00
..
af_netlink.c netlink: Make use of __assign_bit() API 2023-07-11 12:23:15 +02:00
af_netlink.h netlink: remove unused 'compare' function 2023-03-09 23:11:09 -08:00
diag.c netlink: Add __sock_i_ino() for __netlink_diag_dump(). 2023-06-27 09:37:41 -07:00
genetlink.c netlink: support extack in dump ->start() 2023-06-12 11:32:44 +01:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile netlink: add infrastructure to expose policies to userspace 2020-04-30 17:51:42 -07:00
policy.c net: genl: fix error path memory leak in policy dumping 2022-08-18 10:20:48 -07:00