Re: [PATCH v2 -next] usb: typec: remove set but not used variables 'snk_ma, flags'

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

 



On 2018/9/29 16:56, Sergei Shtylyov wrote:
> Hello!
> 
> On 9/29/2018 9:58 AM, YueHaibing wrote:
> 
>> Fixes gcc '-Wunused-but-set-variable' warning:
>>
>> drivers/usb/typec/tcpm/tcpm.c: In function 'tcpm_pd_select_pps_apdo':
>> drivers/usb/typec/tcpm/tcpm.c:2212:39: warning:
>>   variable 'snk_ma' set but not used [-Wunused-but-set-variable]
>>
>> drivers/usb/typec/tcpm/tcpm.c: In function 'tcpm_pd_build_pps_request':
>> drivers/usb/typec/tcpm/tcpm.c:2405:37: warning:
>>   variable 'min_mv' set but not used [-Wunused-but-set-variable]
> 
>    The subject still doesn't match the description and the diff.

Thank you for review, will fix it.

> 
>> 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