scsi: scsi_dh_emc: return success in clariion_std_inquiry()
We accidentally return an uninitialized variable on success.
Fixes: b6ff1b14cd
("[SCSI] scsi_dh: Update EMC handler")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
f170396c14
commit
4d7d39a18b
|
@ -358,7 +358,7 @@ static int clariion_prep_fn(struct scsi_device *sdev, struct request *req)
|
|||
static int clariion_std_inquiry(struct scsi_device *sdev,
|
||||
struct clariion_dh_data *csdev)
|
||||
{
|
||||
int err;
|
||||
int err = SCSI_DH_OK;
|
||||
char *sp_model;
|
||||
|
||||
sp_model = parse_sp_model(sdev, sdev->inquiry);
|
||||
|
|
Loading…
Reference in New Issue