Re: [PATCH] i2c: designware: Fix unused variable warning in i2c_dw_init_recovery_info

From: Jarkko Nikula
Date: Tue Aug 06 2019 - 04:50:55 EST


Hi

On 8/6/19 10:50 AM, Gustavo A. R. Silva wrote:
Fix the following 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;
^

Fixes: 33eb09a02e8d ("i2c: designware: make use of devm_gpiod_get_optional")
Signed-off-by: Gustavo A. R. Silva <gustavo@xxxxxxxxxxxxxx>
---
This was fixed yesterday, not applied yet though:

https://www.spinics.net/lists/linux-i2c/msg41651.html

--
Jarkko