]> git.baikalelectronics.ru Git - kernel.git/commit
net: mvpp2: do not bypass the mvpp22_port_mii_set function
authorAntoine Ténart <antoine.tenart@free-electrons.com>
Wed, 7 Jun 2017 06:17:50 +0000 (08:17 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Jun 2017 19:08:10 +0000 (15:08 -0400)
commitc8aa7205a85de68112791b7443f3af1a72c6cd4c
treeb9e3183bf8f35380ac92155803ef56fb595c272c
parent5af7e1eeb1af3a4fd061a46cf644df2302ce55f7
net: mvpp2: do not bypass the mvpp22_port_mii_set function

The mvpp22_port_mii_set() function was added by 5bfb7e223be2, but the
function directly returns without doing anything. This return was used
when debugging and wasn't removed before sending the patch. Fix this.

Fixes: 5bfb7e223be2 ("net: mvpp2: handle misc PPv2.1/PPv2.2 differences")
Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2.c