]> 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 12:33:24 +0000 (15:33 +0300)
commitcb68ccd414cc10d9a01f5c15bfc3dda27d9a47d3
treed0c364fd6c09ebf12037892cbc1297afe18d680a
parent5d0d18810b8d618b4c5bb792ee97896fcbc4f619
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