drivers/acpi/power.c:67:13: warning: variable 'hp_eb_gp12pxp_quirk' set but not used

From: kernel test robot

Date: Sun Mar 29 2026 - 22:00:23 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 7aaa8047eafd0bd628065b15757d9b48c5f9c07d
commit: 0467ed880a17c276c52e442c2454c7c16973a902 ACPI: PM: Add HP EliteBook 855 G7 WWAN modem power resource quirk
date: 7 months ago
config: loongarch-allnoconfig (https://download.01.org/0day-ci/archive/20260330/202603300907.e90rIWuu-lkp@xxxxxxxxx/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project 054e11d1a17e5ba88bb1a8ef32fad3346e80b186)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260330/202603300907.e90rIWuu-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202603300907.e90rIWuu-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> drivers/acpi/power.c:67:13: warning: variable 'hp_eb_gp12pxp_quirk' set but not used [-Wunused-but-set-global]
67 | static bool hp_eb_gp12pxp_quirk;
| ^
1 warning generated.


vim +/hp_eb_gp12pxp_quirk +67 drivers/acpi/power.c

66
> 67 static bool hp_eb_gp12pxp_quirk;
68 static bool unused_power_resources_quirk;
69

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki