ACPI: thermal: drop an always true check
authorAdam Borowski <kilobyte@angband.pl>
Mon, 15 Nov 2021 17:32:08 +0000 (18:32 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 5 Sep 2022 08:30:03 +0000 (10:30 +0200)
commit8468ccbf4c445dfdfc7e5365dcaf1c18419a6680
treea0b6d8a4650d046d22e3aea2d99055209357d5e5
parentf8b07c05b69969c41efafda7022d6cb184d61bf9
ACPI: thermal: drop an always true check

commit e5b5d25444e9ee3ae439720e62769517d331fa39 upstream.

Address of a field inside a struct can't possibly be null; gcc-12 warns
about this.

Signed-off-by: Adam Borowski <kilobyte@angband.pl>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Cc: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/acpi/thermal.c