[lvc-project] [PATCH v2] ACPI / PMIC: Remove unneeded check in tps68470_pmic_opregion_probe()

Andy Shevchenko andy.shevchenko at gmail.com
Wed Jul 31 10:19:46 MSK 2024


On Wed, Jul 31, 2024 at 12:57 AM Aleksandr Mishin <amishin at t-argos.ru> wrote:
>
> In tps68470_pmic_opregion_probe() pointer 'dev' is compared to NULL which
> is useless.
>
> Fix this issue by removing unneeded check.
>
> Found by Linux Verification Center (linuxtesting.org) with SVACE.

FWIW,
Reviewed-by: Andy Shevchenko <andy.shevchenko at gmail.com>

P.S. In case the first version is already applied feel free to use the
above tag for the modifications that lead to the code as after this
patch.

-- 
With Best Regards,
Andy Shevchenko



More information about the lvc-project mailing list