]> git.baikalelectronics.ru Git - kernel.git/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)
commit6b811e1a54bd162bd8c714e07d0d6e4afe3bda3a
treeb81f51543d0af51edcbac668d851bf053b84d271
parent9418470231e81a348336c26584dceb0de246fefe
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