diff options
Diffstat (limited to 'drivers/message/fusion/mptspi.c')
| -rw-r--r-- | drivers/message/fusion/mptspi.c | 5 | 
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/message/fusion/mptspi.c b/drivers/message/fusion/mptspi.c index 49d11338294b..787933d43d32 100644 --- a/drivers/message/fusion/mptspi.c +++ b/drivers/message/fusion/mptspi.c @@ -461,8 +461,7 @@ static int mptspi_target_alloc(struct scsi_target *starget)  static void  mptspi_target_destroy(struct scsi_target *starget)  { -	if (starget->hostdata) -		kfree(starget->hostdata); +	kfree(starget->hostdata);  	starget->hostdata = NULL;  } @@ -620,7 +619,7 @@ static void mptspi_read_parameters(struct scsi_target *starget)  	spi_width(starget) = (nego & MPI_SCSIDEVPAGE0_NP_WIDE) ? 1 : 0;  } -int +static int  mptscsih_quiesce_raid(MPT_SCSI_HOST *hd, int quiesce, u8 channel, u8 id)  {  	MPT_ADAPTER	*ioc = hd->ioc;  |