Re: linux-next: build warning after merge of the i2c tree

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

 



Hello Wolfram,

On Fri, Aug 02, 2019 at 01:21:23PM +1000, Stephen Rothwell wrote:
> After merging the i2c tree, today's linux-next build (x86_64 allmodconfig)
> produced this warning:
> 
> drivers/i2c/busses/i2c-designware-master.c: In function 'i2c_dw_init_recovery_info':
> drivers/i2c/busses/i2c-designware-master.c:658:6: warning: unused variable 'r' [-Wunused-variable]
>   int r;
>       ^
> 
> Introduced by commit
> 
>   33eb09a02e8d ("i2c: designware: make use of devm_gpiod_get_optional")

The obvious fix is to just remove this variable. Should I send a new
patch, or do you fix up locally?

Best regards
Uwe

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux