Re: [PATCH] USB: remove redundant assignment to temp

2017-11-07 Thread Colin Ian King
On 07/11/17 15:42, Alan Stern wrote: > On Tue, 7 Nov 2017, Colin King wrote: > >> From: Colin Ian King >> >> The variable temp is being set at the end of each loop iteration >> but this value is never read, it is either being updated in just >> the case 1 block or at the end of the loop. Thus th

Re: [PATCH] USB: remove redundant assignment to temp

2017-11-07 Thread Alan Stern
On Tue, 7 Nov 2017, Colin King wrote: > From: Colin Ian King > > The variable temp is being set at the end of each loop iteration > but this value is never read, it is either being updated in just > the case 1 block or at the end of the loop. Thus the assignment > is redundant and can be remove

[PATCH] USB: remove redundant assignment to temp

2017-11-07 Thread Colin King
From: Colin Ian King The variable temp is being set at the end of each loop iteration but this value is never read, it is either being updated in just the case 1 block or at the end of the loop. Thus the assignment is redundant and can be removed. Cleans up clang warning: drivers/usb/host/ehci