Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit a576f369 authored by Aleksandr Aprelkov's avatar Aleksandr Aprelkov Committed by Chuck Lever
Browse files

sunrpc: removed redundant procp check

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>
parent 7d12cce8
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment