Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e572f7cc authored by Andrew Morton's avatar Andrew Morton Committed by James Bottomley
Browse files

[SCSI] fc4 warning fix



drivers/fc4/fc.c: In function `fcp_scsi_dev_reset':
drivers/fc4/fc.c:933: warning: control reaches end of non-void function

Cc: James Bottomley <James.Bottomley@steeleye.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent 7cd7ae53
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1004,8 +1004,8 @@ int fcp_scsi_dev_reset(Scsi_Cmnd *SCpnt)
		return FAILED;
	}
	fc->rst_pkt->eh_state = SCSI_STATE_UNUSED;
	return SUCCESS;
#endif
	return SUCCESS;
}

static int __fcp_scsi_host_reset(Scsi_Cmnd *SCpnt)