Messages in this thread Patch in this message | | | Date | Mon, 13 Jun 2005 00:45:18 +0200 (CEST) | From | Jesper Juhl <> | Subject | [PATCH] remove pointless explicit void pointer casts in calls to kfree (drivers/scsi/dpt_i2o.c) |
| |
(Please keep me on CC when replying)
Patch removes two pointless explicit casts to void* in calls to kfree() in drivers/scsi/dpt_i2o.c
Signed-off-by: Jesper Juhl <juhl-lkml@dif.dk> ---
drivers/scsi/dpt_i2o.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
--- linux-2.6.12-rc6-mm1-orig/drivers/scsi/dpt_i2o.c 2005-06-12 15:58:48.000000000 +0200 +++ linux-2.6.12-rc6-mm1/drivers/scsi/dpt_i2o.c 2005-06-13 00:37:29.000000000 +0200 @@ -2711,10 +2711,10 @@ static s32 adpt_i2o_init_outbound_q(adpt // If the command was successful, fill the fifo with our reply // message packets if(*status != 0x04 /*I2O_EXEC_OUTBOUND_INIT_COMPLETE*/) { - kfree((void*)status); + kfree(status); return -2; } - kfree((void*)status); + kfree(status); if(pHba->reply_pool != NULL){ kfree(pHba->reply_pool);
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |