diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2026-05-19 22:30:49 +0200 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-09-24 07:35:08 -0600 |
| commit | d431e03d831c043707e22311c4bdea1907166c34 (patch) | |
| tree | 0270c5553d241571259be421c8a87adcffb24811 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 9d2c70986bb7838c1c441a93bda415eecb52f3dd (diff) | |
| download | linux-next-d431e03d831c043707e22311c4bdea1907166c34.tar.gz linux-next-d431e03d831c043707e22311c4bdea1907166c34.zip | |
drbd: remove unused drbd_nl_mcgrps[] array
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[] = {
| ^~~~~~~~~~~~~~
At the default warning level, -Wunused-const-variables is turned off,
so this has gone unnoticed.
Remove the extra variable.
Fixes: 8098eeb693c4 ("drbd: replace genl_magic with explicit netlink serialization")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Christoph Böhmwalder <christoph.boehmwalder@linbit.com>
Link: https://patch.msgid.link/20260519203057.1340528-1-arnd@kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
