Re: [PATCH v2] i2c: aspeed: Remove label only used when CONFIG_I2C_SLAVE=y

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

 



Hi Wolfram,

On Fri, Sep 7, 2018 at 2:32 PM Fabio Estevam <festevam@xxxxxxxxx> wrote:
>
> From: Fabio Estevam <fabio.estevam@xxxxxxx>
>
> When CONFIG_I2C_SLAVE is not selected the following build warning
> is seen:
>
> drivers/i2c/busses/i2c-aspeed.c:567:1: warning: label 'out' defined but not used [-Wunused-label]
>
> Get rid of the 'out' label by replacing it with the corresponding
> functions directly.
>
> Signed-off-by: Fabio Estevam <fabio.estevam@xxxxxxx>
> ---
> Changes since v1:
> - Remove the no longer needed 'ret' assignment (Shubhrajyoti Datta)
> - Improve a bit the commit log.

This warning is still present in 4.19.



[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux