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

Skip to content
Commit 3828ff45 authored by Ralph Campbell's avatar Ralph Campbell Committed by Roland Dreier
Browse files

IB/mad: Remove redundant NULL pointer check in ib_mad_recv_done_handler()



In ib_mad_recv_done_handler(), the response pointer is checked for
NULL after allocating it.  It is then checked again in the local
process_mad() path but there is no possibility of it changing in
between.

Signed-off-by: default avatarRalph Campbell <ralph.campbell@qlogic.com>
Acked-by: default avatarHal Rosenstock <hal@xsigo.com>
Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent 8d8293cf
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