]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: thinkpad_acpi: Remove always false 'value < 0' statement
authorXiongfeng Wang <wangxiongfeng2@huawei.com>
Wed, 29 Apr 2020 08:59:40 +0000 (16:59 +0800)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 5 May 2020 17:26:16 +0000 (20:26 +0300)
commit5073e3c78e73bbdb9e44709b3eb6ab742ce32ca9
tree70a11f48437760573214bce0dfa8c1e95a4fa652
parenta9bea78d14c4f6605e8f2502d90e8885f04ba27f
platform/x86: thinkpad_acpi: Remove always false 'value < 0' statement

Since 'value' is declared as unsigned long, the following statement is
always false.
value < 0

So let's remove it.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Xiongfeng Wang <wangxiongfeng2@huawei.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/thinkpad_acpi.c