diff options
author | Jack Stone <jwjstone@fastmail.fm> | 2009-05-13 16:53:39 -0700 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2009-05-13 16:53:39 -0700 |
commit | 5b891a9332dc4212bf166a4506092fbcd60f2319 (patch) | |
tree | 26a0d3966d0c00bedf9315ddfd968f80b2635970 /drivers/infiniband/hw/amso1100/c2_cq.c | |
parent | 210af919c949a7d6bd330916ef376cec2907d81e (diff) | |
download | lwn-5b891a9332dc4212bf166a4506092fbcd60f2319.tar.gz lwn-5b891a9332dc4212bf166a4506092fbcd60f2319.zip |
infiniband: Remove void casts
Remove uneeded casts of void *.
Signed-off-by: Jack Stone <jwjstone@fastmail.fm>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/amso1100/c2_cq.c')
-rw-r--r-- | drivers/infiniband/hw/amso1100/c2_cq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/infiniband/hw/amso1100/c2_cq.c b/drivers/infiniband/hw/amso1100/c2_cq.c index bb17cce3cb59..f5c45b194f53 100644 --- a/drivers/infiniband/hw/amso1100/c2_cq.c +++ b/drivers/infiniband/hw/amso1100/c2_cq.c @@ -133,7 +133,7 @@ static inline int c2_poll_one(struct c2_dev *c2dev, struct c2_qp *qp; int is_recv = 0; - ce = (struct c2wr_ce *) c2_mq_consume(&cq->mq); + ce = c2_mq_consume(&cq->mq); if (!ce) { return -EAGAIN; } @@ -146,7 +146,7 @@ static inline int c2_poll_one(struct c2_dev *c2dev, while ((qp = (struct c2_qp *) (unsigned long) ce->qp_user_context) == NULL) { c2_mq_free(&cq->mq); - ce = (struct c2wr_ce *) c2_mq_consume(&cq->mq); + ce = c2_mq_consume(&cq->mq); if (!ce) return -EAGAIN; } |