ACPI: thermal: drop an always true check
stable inclusion from stable-v5.10.183 commit c92ea38a779f19f8da4a25b182748d3fbcba23d8 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I8IRR2 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=c92ea38a779f19f8da4a25b182748d3fbcba23d8 -------------------------------- commit e5b5d254 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> Signed-off-by:
sanglipeng <sanglipeng1@jd.com>
Loading
Please sign in to comment