IB/ocrdma: Skip using unneeded intermediate variable
authorMarkus Elfring <elfring@users.sourceforge.net>
Sat, 26 Dec 2015 17:40:43 +0000 (18:40 +0100)
committerDoug Ledford <dledford@redhat.com>
Thu, 3 Mar 2016 18:33:22 +0000 (13:33 -0500)
commit95f60bb8118c1fc368d7414409d555f050aea7f2
tree0cd55385822ccb6bbfd716d1f8aa687b48022b58
parentd1c95b0e6526fc2a1841cc0b6b3bcb46c31cc038
IB/ocrdma: Skip using unneeded intermediate variable

Return the value from a call of the ocrdma_mbx_modify_qp() function
without using an extra assignment for the local variable "status".

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/ocrdma/ocrdma_verbs.c