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

From: David Miller
Date: Mon Nov 04 2019 - 14:31:34 EST


From: Christophe Roullier <christophe.roullier@xxxxxx>
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@xxxxxx>

Applied to net-next.