Messages in this thread | | | Date | Fri, 2 Aug 2019 08:04:41 +0200 | From | Uwe Kleine-König <> | Subject | Re: 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 Uwe [unhandled content-type:application/pgp-signature] | |