]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
IB/mthca: Remove checks for srq->first_free < 0
authorEli Cohen <eli@mellanox.co.il>
Tue, 5 Feb 2008 04:20:44 +0000 (20:20 -0800)
committerRoland Dreier <rolandd@cisco.com>
Tue, 5 Feb 2008 04:20:44 +0000 (20:20 -0800)
commit1203c42e7be1aa0be641b701f42b6d38c2d94b39
tree3f84fb72b8fb61d460f3207d21ddf06b4a78700f
parent1d96354e617990799b1cb5d7ff8f7c467b8767c8
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>
drivers/infiniband/hw/mthca/mthca_srq.c