[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 <juhl-lkml@xxxxxx>
---

 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);


-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux