[Linux-stm32] [PATCH V2 1/1] net: ethernet: stmmac: drop unused variable in stm32mp1_set_mode()

David Miller davem at davemloft.net
Mon Nov 4 19:31:31 UTC 2019


From: Christophe Roullier <christophe.roullier at st.com>
Date: Mon, 4 Nov 2019 11:51:00 +0100

> Building with W=1 (cf.scripts/Makefile.extrawarn) outputs:
> warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]
> 
> Drop the unused 'ret' variable.
> 
> Signed-off-by: Christophe Roullier <christophe.roullier at st.com>

Applied to net-next.


More information about the Linux-stm32 mailing list