diff options
author | Colin Ian King <colin.king@canonical.com> | 2018-02-06 15:34:10 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-02-14 03:37:06 +0100 |
commit | b22ee87d84296233886139654e8a125d8f79b44e (patch) | |
tree | 8f2f5544a34805662ac4baf42a947cc242b2bf59 /drivers/scsi/Kconfig | |
parent | scsi: isci: remove redundant initialization to 'bit' (diff) | |
download | linux-b22ee87d84296233886139654e8a125d8f79b44e.tar.xz linux-b22ee87d84296233886139654e8a125d8f79b44e.zip |
scsi: pmcraid: remove redundant initializations of pointer 'ioadl'
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: Value stored to 'ioadl' during
its initialization is never read
drivers/scsi/pmcraid.c:3178:29: warning: Value stored to 'ioadl' during
its initialization is never read
drivers/scsi/pmcraid.c:5495:29: warning: Value stored to 'ioadl' during
its initialization is never read
drivers/scsi/pmcraid.c:5668:29: warning: Value stored to 'ioadl' during
its initialization is never read
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/Kconfig')
0 files changed, 0 insertions, 0 deletions