[PATCH] drbd: remove unused drbd_nl_mcgrps[] array

Jens Axboe axboe at kernel.dk
Thu Sep 24 15:35:25 CEST 2026


On Tue, 19 May 2026 22:30:49 +0200, Arnd Bergmann wrote:
> After the rework, two files have a copy of drbd_nl_mcgrps[], but one
> of them has no references:
> 
> drivers/block/drbd/drbd_nl_gen.c:641:42: error: 'drbd_nl_mcgrps' defined but not used [-Werror=unused-const-variable=]
>   641 | static const struct genl_multicast_group drbd_nl_mcgrps[] = {
>       |                                          ^~~~~~~~~~~~~~
> 
> [...]

Applied, thanks!

[1/1] drbd: remove unused drbd_nl_mcgrps[] array
      commit: d431e03d831c043707e22311c4bdea1907166c34

Best regards,
-- 
Jens Axboe





More information about the drbd-dev mailing list