diff options
author | Jack Stone <jwjstone@fastmail.fm> | 2009-05-13 19:53:39 -0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2009-05-13 19:53:39 -0400 |
commit | 5b891a9332dc4212bf166a4506092fbcd60f2319 (patch) | |
tree | 26a0d3966d0c00bedf9315ddfd968f80b2635970 /drivers/infiniband/hw/ehca/ehca_irq.c | |
parent | 210af919c949a7d6bd330916ef376cec2907d81e (diff) |
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/ehca/ehca_irq.c')
-rw-r--r-- | drivers/infiniband/hw/ehca/ehca_irq.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/infiniband/hw/ehca/ehca_irq.c b/drivers/infiniband/hw/ehca/ehca_irq.c index 99bcbd7ffb0a..4b89b791be6a 100644 --- a/drivers/infiniband/hw/ehca/ehca_irq.c +++ b/drivers/infiniband/hw/ehca/ehca_irq.c | |||
@@ -479,13 +479,13 @@ void ehca_tasklet_neq(unsigned long data) | |||
479 | struct ehca_eqe *eqe; | 479 | struct ehca_eqe *eqe; |
480 | u64 ret; | 480 | u64 ret; |
481 | 481 | ||
482 | eqe = (struct ehca_eqe *)ehca_poll_eq(shca, &shca->neq); | 482 | eqe = ehca_poll_eq(shca, &shca->neq); |
483 | 483 | ||
484 | while (eqe) { | 484 | while (eqe) { |
485 | if (!EHCA_BMASK_GET(NEQE_COMPLETION_EVENT, eqe->entry)) | 485 | if (!EHCA_BMASK_GET(NEQE_COMPLETION_EVENT, eqe->entry)) |
486 | parse_ec(shca, eqe->entry); | 486 | parse_ec(shca, eqe->entry); |
487 | 487 | ||
488 | eqe = (struct ehca_eqe *)ehca_poll_eq(shca, &shca->neq); | 488 | eqe = ehca_poll_eq(shca, &shca->neq); |
489 | } | 489 | } |
490 | 490 | ||
491 | ret = hipz_h_reset_event(shca->ipz_hca_handle, | 491 | ret = hipz_h_reset_event(shca->ipz_hca_handle, |
@@ -572,8 +572,7 @@ void ehca_process_eq(struct ehca_shca *shca, int is_irq) | |||
572 | eqe_cnt = 0; | 572 | eqe_cnt = 0; |
573 | do { | 573 | do { |
574 | u32 token; | 574 | u32 token; |
575 | eqe_cache[eqe_cnt].eqe = | 575 | eqe_cache[eqe_cnt].eqe = ehca_poll_eq(shca, eq); |
576 | (struct ehca_eqe *)ehca_poll_eq(shca, eq); | ||
577 | if (!eqe_cache[eqe_cnt].eqe) | 576 | if (!eqe_cache[eqe_cnt].eqe) |
578 | break; | 577 | break; |
579 | eqe_value = eqe_cache[eqe_cnt].eqe->entry; | 578 | eqe_value = eqe_cache[eqe_cnt].eqe->entry; |
@@ -637,7 +636,7 @@ void ehca_process_eq(struct ehca_shca *shca, int is_irq) | |||
637 | goto unlock_irq_spinlock; | 636 | goto unlock_irq_spinlock; |
638 | do { | 637 | do { |
639 | struct ehca_eqe *eqe; | 638 | struct ehca_eqe *eqe; |
640 | eqe = (struct ehca_eqe *)ehca_poll_eq(shca, &shca->eq); | 639 | eqe = ehca_poll_eq(shca, &shca->eq); |
641 | if (!eqe) | 640 | if (!eqe) |
642 | break; | 641 | break; |
643 | process_eqe(shca, eqe); | 642 | process_eqe(shca, eqe); |