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]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux