diff options
author | Roland Dreier <rolandd@cisco.com> | 2006-09-22 15:22:55 -0700 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2006-09-22 15:22:55 -0700 |
commit | d35cc330a2058a32410ef42784b8d3b942f37b8b (patch) | |
tree | d01f8996ab79610edbf070c21b9200480c5b126f /drivers/infiniband/hw/mthca/mthca_cmd.c | |
parent | 951f7fc1372da3d826b1d975b3cc5e3db92af5d0 (diff) |
IB/mthca: Simplify calls to mthca_cq_clean()
If a QP has separate send and receive CQs, then the send CQ will never
have receive completions from that QP in it. So when cleaning the
send CQ, there's no need to pass in an SRQ pointer, even if the QP is
attached to an SRQ.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/mthca/mthca_cmd.c')
0 files changed, 0 insertions, 0 deletions