linux/arch/x86/platform/olpc
Zeng Heng ef69de53c4 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: a7a9bacb9a ("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
2025-03-06 11:14:26 +01:00
..
Makefile
olpc-xo1-pm.c x86/platform: Switch back to struct platform_driver::remove() 2024-10-21 17:20:30 +02:00
olpc-xo1-rtc.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
olpc-xo1-sci.c x86/platform/olpc-xo1-sci: Don't include <linux/pm_wakeup.h> directly 2025-02-21 16:45:00 +01:00
olpc-xo15-sci.c ACPI: make remove callback of ACPI driver void 2022-11-23 19:11:22 +01:00
olpc.c x86/platform/olpc: Correct ifdef symbol to intended CONFIG_OLPC_XO15_SCI 2021-10-06 18:46:06 +02:00
olpc_dt.c x86/platform/olpc: Remove unused variable 'len' in olpc_dt_compatible_match() 2025-03-06 11:14:26 +01:00
olpc_ofw.c mm: reorder includes after introduction of linux/pgtable.h 2020-06-09 09:39:13 -07:00
xo1-wakeup.S x86: Prepare asm files for straight-line-speculation 2021-12-08 12:25:37 +01:00