[PATCH] remove pointless explicit void pointer casts in calls to kfree (drivers/scsi/dpt_i2o.c)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



(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 <[email protected]>
---

 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux