Skip to content
Commit 473c7dd1 authored by Dominique Martinet's avatar Dominique Martinet
Browse files

9p/rdma: remove useless check in cm_event_handler

the client c is always dereferenced to get the rdma struct, so c has to
be a valid pointer at this point.
Gcc would optimize that away but let's make coverity happy...

Link: http://lkml.kernel.org/r/1536339057-21974-3-git-send-email-asmadeus@codewreck.org


Addresses-Coverity-ID: 102778 ("Dereference before null check")
Signed-off-by: default avatarDominique Martinet <dominique.martinet@cea.fr>
parent e02a53d9
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