Re: [PATCH] platform/x86: thinkpad_acpi: Remove always false 'value < 0' statement

From: Andy Shevchenko
Date: Wed Apr 29 2020 - 08:35:45 EST


On Wed, Apr 29, 2020 at 12:06 PM Xiongfeng Wang
<wangxiongfeng2@xxxxxxxxxx> wrote:
>
> Since 'value' is declared as unsigned long, the following statement is
> always false.
> value < 0
>
> So let's remove it.

It's bogus. The warning here doesn't tell anything useful, so doesn't the patch.

--
With Best Regards,
Andy Shevchenko