summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mthca/mthca_qp.c
diff options
context:
space:
mode:
authorEli Cohen2008-02-05 05:20:44 +0100
committerRoland Dreier2008-02-05 05:20:44 +0100
commit1203c42e7be1aa0be641b701f42b6d38c2d94b39 (patch)
tree3f84fb72b8fb61d460f3207d21ddf06b4a78700f /drivers/infiniband/hw/mthca/mthca_qp.c
parentIB/fmr_pool: Allocate page list for pool FMRs only when caching enabled (diff)
downloadkernel-qcow2-linux-1203c42e7be1aa0be641b701f42b6d38c2d94b39.tar.gz
kernel-qcow2-linux-1203c42e7be1aa0be641b701f42b6d38c2d94b39.tar.xz
kernel-qcow2-linux-1203c42e7be1aa0be641b701f42b6d38c2d94b39.zip
IB/mthca: Remove checks for srq->first_free < 0
The SRQ receive posting functions make sure that srq->first_free never becomes negative, so we can remove tests of whether it is negative. Signed-off-by: Eli Cohen <eli@mellanox.co.il> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/mthca/mthca_qp.c')
0 files changed, 0 insertions, 0 deletions