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

sunrpc: removed redundant procp check



[ Upstream commit a576f369 ]

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 4c4ba3cf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment