summaryrefslogtreecommitdiff
path: root/scripts/lib/abi/helpers.py
diff options
context:
space:
mode:
authorZeng Heng <zengheng4@huawei.com>2024-10-25 10:42:03 +0300
committerIngo Molnar <mingo@kernel.org>2025-03-06 13:14:26 +0300
commitef69de53c46a4b526442f6bc5970fc14f7a0bb32 (patch)
tree306be4aace00b1608d1e48ccc9cececd30ff79a1 /scripts/lib/abi/helpers.py
parent000894d8fc0d787b52a46339f297e20c024a6ca5 (diff)
downloadlinux-ef69de53c46a4b526442f6bc5970fc14f7a0bb32.tar.xz
x86/platform/olpc: Remove unused variable 'len' in olpc_dt_compatible_match()
The following build warning highlights some unused code: arch/x86/platform/olpc/olpc_dt.c: In function ‘olpc_dt_compatible_match’: arch/x86/platform/olpc/olpc_dt.c:222:12: warning: variable ‘len’ set but not used [-Wunused-but-set-variable] The compiler is right, the local variable 'len' is set but never used, so remove it. Fixes: a7a9bacb9a32 ("x86/platform/olpc: Use a correct version when making up a battery node") Signed-off-by: Zeng Heng <zengheng4@huawei.com> Signed-off-by: Ingo Molnar <mingo@kernel.org> Link: https://lore.kernel.org/r/20241025074203.1921344-1-zengheng4@huawei.com
Diffstat (limited to 'scripts/lib/abi/helpers.py')
0 files changed, 0 insertions, 0 deletions