diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-04-06 12:19:57 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-04-11 20:42:43 -0400 |
commit | 1fdcd2d1da7f5293a210af52407d5024036975c2 (patch) | |
tree | e4191df3e8a27119c32e636b24b77708909021b2 /include/scsi | |
parent | bf5ea6fba78b62a4d4b70151143077131ccf32a8 (diff) | |
download | linux-1fdcd2d1da7f5293a210af52407d5024036975c2.tar.bz2 |
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')
0 files changed, 0 insertions, 0 deletions