Re: [PATCH -next] platform/surface: remove status assignment without reading
From: Andy Shevchenko
Date: Thu Oct 29 2020 - 07:52:06 EST
On Thu, Oct 29, 2020 at 1:36 PM Zou Wei <zou_wei@xxxxxxxxxx> wrote:
>
> The status local variable is assigned but never read:
...
> mutex_lock(&s3_wmi_lock);
> - status = wmi_query_block(guid, instance, &output);
What are you doing?!
--
With Best Regards,
Andy Shevchenko