OSDN Git Service

misc: hpilo: remove unused is_device_reset function
authorTom Rix <trix@redhat.com>
Sun, 19 Mar 2023 17:04:47 +0000 (13:04 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Mar 2023 10:19:43 +0000 (12:19 +0200)
commit52a7a5e91f9f63c99632687e85a7531d9ac9a706
tree50302cd37908c465cadb0a81885b1ff8c9bda075
parent1fb1ea0d9cb8359ae9d6f67f22666c74d5b9f47d
misc: hpilo: remove unused is_device_reset function

clang with W=1 reports
drivers/misc/hpilo.c:395:19: error: unused function
  'is_device_reset' [-Werror,-Wunused-function]
static inline int is_device_reset(struct ilo_hwinfo *hw)
                  ^
This function is not used, so remove it.

Signed-off-by: Tom Rix <trix@redhat.com>
Link: https://lore.kernel.org/r/20230319170447.1707655-1-trix@redhat.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/hpilo.c