diff options
| author | Andy Shevchenko <[email protected]> | 2025-04-07 07:21:26 +0000 |
|---|---|---|
| committer | Mikulas Patocka <[email protected]> | 2025-04-09 13:56:59 +0000 |
| commit | 7bd47be16108e55e6bc85bdd3cae5c9a2bc98a89 (patch) | |
| tree | 6f120c80b1846926609f28414d61c04aa8faee42 /drivers/firmware/psci/psci.c | |
| parent | Linux 6.15-rc1 (diff) | |
| download | kernel-7bd47be16108e55e6bc85bdd3cae5c9a2bc98a89.tar.gz kernel-7bd47be16108e55e6bc85bdd3cae5c9a2bc98a89.zip | |
dm table: Fix W=1 build warning when mempool_needs_integrity is unused
The mempool_needs_integrity is unused. This, in particular, prevents
kernel builds with Clang, `make W=1` and CONFIG_WERROR=y:
drivers/md/dm-table.c:1052:7: error: variable 'mempool_needs_integrity' set but not used [-Werror,-Wunused-but-set-variable]
1052 | bool mempool_needs_integrity = t->integrity_supported;
| ^
Fix this by removing the leftover.
Fixes: 105ca2a2c2ff ("block: split struct bio_integrity_payload")
Signed-off-by: Andy Shevchenko <[email protected]>
Signed-off-by: Mikulas Patocka <[email protected]>
Diffstat (limited to 'drivers/firmware/psci/psci.c')
0 files changed, 0 insertions, 0 deletions
