Re: [PATCH] scsi: pmcraid: remove redundant initializations of pointer 'ioadl'

2018-02-09 Thread Martin K. Petersen
Colin, > There are several occurrances where pointer ioadl is initialized with a > value that is never read and where it is re-assigned a new value later > on, hence the initialization is redundant and can be removed. Applied to 4.17/scsi-queue. -- Martin K. Petersen Oracle Linux Engineer

[PATCH] scsi: pmcraid: remove redundant initializations of pointer 'ioadl'

2018-02-06 Thread Colin King
From: Colin Ian King There are several occurrances where pointer ioadl is initialized with a value that is never read and where it is re-assigned a new value later on, hence the initialization is redundant and can be removed. Cleans up clang warnings: drivers/scsi/pmcraid.c:1028:29: warning: Val