Re: [PATCH] scsi: qla2xxx: remove some redundant pointer assignments

2017-04-11 Thread Martin K. Petersen
Colin King writes: > 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. Applied to 4.12/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: qla2xxx: remove some redundant pointer assignments

2017-04-06 Thread Himanshu Madhani
On Thu, 6 Apr 2017, 4:19am, Colin King wrote: > From: Colin Ian King > > 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

[PATCH] scsi: qla2xxx: remove some redundant pointer assignments

2017-04-06 Thread Colin King
From: Colin Ian King 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