]> asedeno.scripts.mit.edu Git - linux.git/commit
net: ethernet: stmmac: drop unused variable in stm32mp1_set_mode()
authorChristophe Roullier <christophe.roullier@st.com>
Mon, 4 Nov 2019 10:51:00 +0000 (11:51 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Nov 2019 19:31:21 +0000 (11:31 -0800)
commit54e0602d796ceb20b292e9d364046b6b2724f735
treeb2a20886d49a8b3ee92952f004f4facb4facda2b
parent369a782af0f1a9acf81d6fe8de44c8ee02be0f3a
net: ethernet: stmmac: drop unused variable in stm32mp1_set_mode()

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@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac-stm32.c