]> err.no Git - linux-2.6/commit
IB/ipath: Trivial simplification of ipath_make_ud_req()
authorRalph Campbell <ralph.campbell@qlogic.com>
Fri, 25 Jan 2008 22:17:44 +0000 (14:17 -0800)
committerRoland Dreier <rolandd@cisco.com>
Fri, 25 Jan 2008 22:17:44 +0000 (14:17 -0800)
commit4e1e93a4189a98cfb0e24865f7f44470ae5f805e
treeb81f51543d0af51edcbac668d851bf053b84d271
parent950529e5c6efda8a6d3090a8fef9b904c833397a
IB/ipath: Trivial simplification of ipath_make_ud_req()

Move the increment of s_hdrwords into the existing if block that tests
if we're doing a send with immediate, to save one test of the opcode.

Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_ud.c