Re: [PATCH] scsi: csiostor: remove redundant assignment to pointer 'ln'

2018-01-30 Thread Martin K. Petersen
Colin, > The pointer ln is assigned a value that is never read, it is re-assigned > a new value in the list_for_each loop hence the initialization is > redundant and can be removed. Applied to 4.16/scsi-fixes. Thank you. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: csiostor: remove redundant assignment to pointer 'ln'

2018-01-29 Thread Varun Prakash
On Wed, Jan 24, 2018 at 02:58:01PM +, Colin King wrote: > From: Colin Ian King > > The pointer ln is assigned a value that is never read, it is re-assigned > a new value in the list_for_each loop hence the initialization is > redundant and can be removed. > >

[PATCH] scsi: csiostor: remove redundant assignment to pointer 'ln'

2018-01-24 Thread Colin King
From: Colin Ian King The pointer ln is assigned a value that is never read, it is re-assigned a new value in the list_for_each loop hence the initialization is redundant and can be removed. Cleans up clang warning: drivers/scsi/csiostor/csio_lnode.c:117:21: warning: