]> 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)
commit9fd5bedddb005f1830d7e043166b54e32d7af00b
treeb9e3183bf8f35380ac92155803ef56fb595c272c
parente29c8df47862096269722be14e3ae1dbb9a24074
net: mvpp2: do not bypass the mvpp22_port_mii_set function

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