[lvc-project] [PATCH] regulator: of: Remove redundant check in of_get_regulation_constraints
Mark Brown
broonie at kernel.org
Mon Dec 18 16:01:37 MSK 2023
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://linuxtesting.org/pipermail/lvc-project/attachments/20231218/f11b1db6/attachment.pgp>
More information about the lvc-project
mailing list