From: Roland Dreier Date: Fri, 24 Mar 2006 23:47:30 +0000 (-0800) Subject: IB/mthca: Fix modify QP error path X-Git-Tag: v2.6.17-rc1~730^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=192daa18dd7bfcaeb092a2ef928135745f2e6883;p=pandora-kernel.git IB/mthca: Fix modify QP error path 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 --- Reading git-diff-tree failed