Commit da6d2965 authored by Colin Ian King's avatar Colin Ian King Committed by Martin K. Petersen

scsi: qla2xxx: remove redundant assignment to pointer host

The pointer host is being initialized with a value that is never read and
is being re-assigned a little later on. The assignment is redundant and
hence can be removed.

Link: https://lore.kernel.org/r/20190905134229.21194-1-colin.king@canonical.com
Addresses-Coverity: ("Unused value")
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 1c629485
...@@ -463,7 +463,7 @@ void qlt_response_pkt_all_vps(struct scsi_qla_host *vha, ...@@ -463,7 +463,7 @@ void qlt_response_pkt_all_vps(struct scsi_qla_host *vha,
case IMMED_NOTIFY_TYPE: case IMMED_NOTIFY_TYPE:
{ {
struct scsi_qla_host *host = vha; struct scsi_qla_host *host;
struct imm_ntfy_from_isp *entry = struct imm_ntfy_from_isp *entry =
(struct imm_ntfy_from_isp *)pkt; (struct imm_ntfy_from_isp *)pkt;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment