Re: [PATCH] [media] mxl111sf: remove redundant assignment to index

2017-10-31 Thread Michael Ira Krufky
On Sun, Oct 29, 2017 at 8:50 AM, Colin King wrote: > From: Colin Ian King > > Variable index is set to zero and then set to zero again > a few lines later in a for loop initialization. Remove the > redundant setting of index to zero. Cleans up the clang > warning: > > drivers/media/usb/dvb-usb-v2

[PATCH] [media] mxl111sf: remove redundant assignment to index

2017-10-29 Thread Colin King
From: Colin Ian King Variable index is set to zero and then set to zero again a few lines later in a for loop initialization. Remove the redundant setting of index to zero. Cleans up the clang warning: drivers/media/usb/dvb-usb-v2/mxl111sf-i2c.c:519:3: warning: Value stored to 'index' is never r