Re: [PATCH] regulator: of: Remove redundant check in of_get_regulation_constraints

From: Mark Brown
Date: Mon Dec 18 2023 - 08:12:22 EST


On Mon, Dec 18, 2023 at 12:57:07PM +0300, Karina Yankevich wrote:
> The pointer 'suspend_state' cannot be NULL after the switch statement
> so remove the redundant check.
>
> Found by Linux Verification Center (linuxtesting.org) with the Svace static
> analysis tool.

You've provided no analysis which shows that this is the case, nor any
explanation as to why it matters.

Attachment: signature.asc
Description: PGP signature