From: Mike Christie <michaelc@xxxxxxxxxxx> Trivial remove casts in fc_scsi.c. Just getting it out of the way to make other patches smaller. Signed-off-by: Mike Christie <michaelc@xxxxxxxxxxx> --- drivers/scsi/libfc/fc_scsi.c | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/scsi/libfc/fc_scsi.c b/drivers/scsi/libfc/fc_scsi.c index 2ca1db2..b9d0ec4 100644 --- a/drivers/scsi/libfc/fc_scsi.c +++ b/drivers/scsi/libfc/fc_scsi.c @@ -2028,7 +2028,7 @@ int fc_eh_host_reset(struct scsi_cmnd *sc_cmd) struct fc_lport *lp; lp = shost_priv(sc_cmd->device->host); - return (lp->tt.reset_if(lp)); + return lp->tt.reset_if(lp); } EXPORT_SYMBOL(fc_eh_host_reset); @@ -2115,9 +2115,8 @@ int fc_scsi_init(struct fc_lport *lp, if (!lp->tt.scsi_abort_io) lp->tt.scsi_abort_io = fc_scsi_abort_io; - si = (struct fc_scsi_internal*)kzalloc(sizeof(struct fc_scsi_internal), - GFP_KERNEL); - lp->scsi_priv = (void*)si; + si = kzalloc(sizeof(struct fc_scsi_internal), GFP_KERNEL); + lp->scsi_priv = si; /* * we will use openfc's scsi i/f only when lower level driver -- 1.5.4.1 -- To unsubscribe from this list: 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