]> git.baikalelectronics.ru Git - kernel.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)
commit59c210fc2ab2d9f70fb22ef36b54f2360d863dd3
treeb2a20886d49a8b3ee92952f004f4facb4facda2b
parentda1e1e902fa9937dae9e8bf7df5f9ddfb4fbf499
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