mirror of https://gitee.com/openkylin/linux.git
net: mvpp2: do not bypass the mvpp22_port_mii_set function
The mvpp22_port_mii_set() function was added by2697582144
, 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:2697582144
("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>
This commit is contained in:
parent
3a807b751c
commit
e173db36e3
|
@ -4186,8 +4186,6 @@ static void mvpp22_port_mii_set(struct mvpp2_port *port)
|
|||
{
|
||||
u32 val;
|
||||
|
||||
return;
|
||||
|
||||
/* Only GOP port 0 has an XLG MAC */
|
||||
if (port->gop_id == 0) {
|
||||
val = readl(port->base + MVPP22_XLG_CTRL3_REG);
|
||||
|
|
Loading…
Reference in New Issue