On Wed, Jul 31, 2024 at 12:57 AM Aleksandr Mishin <amishin@xxxxxxxxxx> 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@xxxxxxxxx> 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