mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 10:41:26 +00:00
qla2x00t-32gbit: 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: Colin Ian King <colin.king@canonical.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> [ commit da6d2965dbdb480f091c42f54a09abe8056282e5 upstream ] git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8703 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -476,7 +476,7 @@ void qlt_response_pkt_all_vps(struct scsi_qla_host *vha,
|
||||
|
||||
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 *)pkt;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user