Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ff15f110 authored by Aleksandr Aprelkov's avatar Aleksandr Aprelkov Committed by Greg Kroah-Hartman
Browse files

sunrpc: removed redundant procp check



[ Upstream commit a576f36971ab4097b6aa76433532aa1fb5ee2d3b ]

since vs_proc pointer is dereferenced before getting it's address there's
no need to check for NULL.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Fixes: 8e5b6773 ("SUNRPC: Add a callback to initialise server requests")
Signed-off-by: default avatarAleksandr Aprelkov <aaprelkov@usergate.com>
Reviewed-by: default avatarJeff Layton <jlayton@kernel.org>
Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 9462d825
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment