diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-04-06 13:19:57 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-04-12 02:42:43 +0200 |
commit | 1fdcd2d1da7f5293a210af52407d5024036975c2 (patch) | |
tree | e4191df3e8a27119c32e636b24b77708909021b2 /include/scsi/iscsi_if.h | |
parent | scsi: qla4xxx: drop redundant init_completion (diff) | |
download | linux-1fdcd2d1da7f5293a210af52407d5024036975c2.tar.xz linux-1fdcd2d1da7f5293a210af52407d5024036975c2.zip |
scsi: qla2xxx: remove some redundant pointer assignments
There are several local or function parameter pointers that are being
assigned NULL after a kfree where and these have no effect and hence can
be removed.
Fixes various cppcheck warnings:
"Assignment of function parameter has no effect outside the
function. Did you forget dereferencing it"
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/scsi/iscsi_if.h')
0 files changed, 0 insertions, 0 deletions