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

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

2018-03-12 Thread Colin King
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. Cleans up clang