char:ipmi: Fix a not-used variable on a non-ACPI system
authorCorey Minyard <corey@minyard.net>
Sun, 22 Dec 2024 20:55:56 +0000 (14:55 -0600)
committerCorey Minyard <corey@minyard.net>
Sun, 22 Dec 2024 20:57:47 +0000 (14:57 -0600)
commit04626c3f1c69909189c9419424887fc2dad48f75
tree4b8b0477462ec4099cffb8df643338b1966268d3
parent7868b3a94045a6c45b7dfb03945c195106bc77df
char:ipmi: Fix a not-used variable on a non-ACPI system

Put some code into APCI ifdefs to avoid a not-used variable warning.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202412222349.R7qW7Q2t-lkp@intel.com/
Signed-off-by: Corey Minyard <corey@minyard.net>
drivers/char/ipmi/ipmb_dev_int.c