]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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>
Fri, 9 Jun 2023 08:29:01 +0000 (10:29 +0200)
commit253d70232573ea5af8ef6399fdef921555a1ac67
tree2f2afb86ce78f13e7c7105042a231049feaeeb09
parenta010f8e64689ec3556d84a0f8911216cf69a62d8
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/acpi/thermal.c