[lkml]   [2019]   [Aug]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: linux-next: build warning after merge of the i2c tree
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
[unhandled content-type:application/pgp-signature]
 \ /
  Last update: 2019-08-02 08:11    [W:0.049 / U:2.684 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site