RDMA/ocrdma: Fix check of GSI CQs
authorRoland Dreier <roland@purestorage.com>
Fri, 27 Jul 2012 20:14:44 +0000 (13:14 -0700)
committerRoland Dreier <roland@purestorage.com>
Fri, 27 Jul 2012 20:14:44 +0000 (13:14 -0700)
commit9e8fa040cb2d9070d15d3f0d71b83e85e32ecde2
tree705cc13a6b615b82354e7b982d165a2135a78c55
parent5dedb9f3bd5bcb186313ea0c0cff8f2c525d4122
RDMA/ocrdma: Fix check of GSI CQs

It looks like one check was accidentally duplicated, and the other 3
checks were left out.  This was detected by scripts/coccinelle/tests/doubletest.cocci:

    drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:895:6-54: duplicated argument to && or ||

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/ocrdma/ocrdma_verbs.c