On Sat, Dec 18, 2021 at 01:24:20AM -0300, Julio Faracco wrote: > Clang is reporting some issues related variable values not used and > other issues inside some USB host drivers. This commit removes some > trashes and adds some strategies to mitigate those warnings. > > The most important is the maxpacket not checking for zeros inside both > functions qtd_fill(). Even if this variable is always higher than zero, > it should be checked to avoid this kind of verbosity. > > Signed-off-by: Julio Faracco <jcfaracco@xxxxxxxxx> Please break this up into "one patch per warning" and show the warning that is happening as well, as it is not obvious why you are changing these files in the way you are doing it. thanks, greg k-h