Re: [PATCH] staging: comedi: adl_pci6208: remove redundant initialization of 'val'

2018-03-13 Thread Ian Abbott
On 12/03/18 23:36, Colin King wrote: From: Colin Ian King Variable 'val' is initialized with a value that is never read, it is updated with a new value again after intitialization. Remove the redundant initialization and move the declaration and assignment into the

Re: [PATCH] staging: comedi: adl_pci6208: remove redundant initialization of 'val'

2018-03-13 Thread Ian Abbott
On 12/03/18 23:36, Colin King wrote: From: Colin Ian King Variable 'val' is initialized with a value that is never read, it is updated with a new value again after intitialization. Remove the redundant initialization and move the declaration and assignment into the scope of the for-loop.