diff options
| author | Zeng Heng <[email protected]> | 2024-10-25 07:42:03 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2025-03-06 10:14:26 +0000 |
| commit | ef69de53c46a4b526442f6bc5970fc14f7a0bb32 (patch) | |
| tree | 306be4aace00b1608d1e48ccc9cececd30ff79a1 /samples/rust/rust_driver_platform.rs | |
| parent | x86/platform/olpc-xo1-sci: Don't include <linux/pm_wakeup.h> directly (diff) | |
| download | kernel-ef69de53c46a4b526442f6bc5970fc14f7a0bb32.tar.gz kernel-ef69de53c46a4b526442f6bc5970fc14f7a0bb32.zip | |
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 <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'samples/rust/rust_driver_platform.rs')
0 files changed, 0 insertions, 0 deletions
