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)
commitb991178fe3cb8ab326167da0f74e7f20bbe269cf
tree70a11f48437760573214bce0dfa8c1e95a4fa652
parent14232c6e788cb1f7b96dbd08b077f90923324b24
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