Grant> this could be one line: struct mthca_cqe *cqe = get_cqe(cq, i);
Yes, makes sense as a cleanup.
Grant> This code chunk is "dead" code. It starts with "if (0)".
Grant> Can it just be deleted?
It's actually debugging code -- it can be enabled easily by changing
to if (1).
Grant> BTW, I dislike use of "is_send" to branch the code path
Grant> several times later instead of just having two different
Grant> code paths that call the same in-line functions. Interested
Grant> in a patch to change this?
Let me merge what I have pending and then you can hack away...
- R.
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general
To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general