IB/mthca: Fix modify QP error path
authorRoland Dreier <rolandd@cisco.com>
Fri, 24 Mar 2006 23:47:30 +0000 (15:47 -0800)
committerRoland Dreier <rolandd@cisco.com>
Fri, 24 Mar 2006 23:47:30 +0000 (15:47 -0800)
If the call to mthca_MODIFY_QP() failed, then mthca_modify_qp() would
still do some things it shouldn't, such as store away attributes for
special QPs.  Fix this, and simplify the code, by simply jumping to
the exit path if mthca_MODIFY_QP() fails.

Signed-off-by: Roland Dreier <rolandd@cisco.com>

No differences found