Re: [PATCH -next] usb: host: oxu210hp-hcd: remove set but not used variables 'uframes, transfer_buffer_length'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 2019/2/15 16:11, Sergei Shtylyov wrote:
> Hello!
> 
> On 15.02.2019 6:17, YueHaibing wrote:
> 
>> Fixes gcc '-Wunused-but-set-variable' warning:
>>
>> drivers/usb/host/oxu210hp-hcd.c: In function 'scan_periodic':
>> drivers/usb/host/oxu210hp-hcd.c:2256:13: warning:
>>   variable 'uframes' set but not used [-Wunused-but-set-variable]
>>
>> drivers/usb/host/oxu210hp-hcd.c: In function 'oxu_urb_enqueue':
>> drivers/usb/host/oxu210hp-hcd.c:2835:6: warning:
>>   variable 'transfer_buffer_length' set but not used [-Wunused-but-set-variable]
>>
>> It never used since introduction.
> 
>    "It's" or even better, "they are"?

Ok, will fix it, Thanks!

> 
>>
>> Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>
> [...]
> 
> MBR, Sergei
> 
> 




[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux