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)
commite173db36e3090d90651d97ab4bc45ace7f8cc0c6
treeb9e3183bf8f35380ac92155803ef56fb595c272c
parent3a807b751c66e76bff39da4a9bd9828d7866d025
net: mvpp2: do not bypass the mvpp22_port_mii_set function

The mvpp22_port_mii_set() function was added by 2697582144dd, 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: 2697582144dd ("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