[openib-general] [PATCH] mthca: make IB_SEND_FENCE work

Michael S. Tsirkin mst at mellanox.co.il
Mon Aug 14 13:41:54 PDT 2006


Quoting r. Sean Hefty <mshefty at ichips.intel.com>:
> This could eliminate the warning, and remove an if statement from executing on 
> each iteration.

We still need to test size0 to set size0 = size.
So we just reuse the extra branch, and I agree with Roland
this way code is clearer.

-- 
MST




More information about the general mailing list