Skip to content

Commit e173db3

Browse files
atenartdavem330
authored andcommitted
net: mvpp2: do not bypass the mvpp22_port_mii_set function
The mvpp22_port_mii_set() function was added by 2697582, 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: 2697582 ("net: mvpp2: handle misc PPv2.1/PPv2.2 differences") Signed-off-by: Antoine Tenart <[email protected]> Acked-by: Thomas Petazzoni <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 3a807b7 commit e173db3

File tree

1 file changed

+0
-2
lines changed
  • drivers/net/ethernet/marvell

1 file changed

+0
-2
lines changed

drivers/net/ethernet/marvell/mvpp2.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4186,8 +4186,6 @@ static void mvpp22_port_mii_set(struct mvpp2_port *port)
41864186
{
41874187
u32 val;
41884188

4189-
return;
4190-
41914189
/* Only GOP port 0 has an XLG MAC */
41924190
if (port->gop_id == 0) {
41934191
val = readl(port->base + MVPP22_XLG_CTRL3_REG);

0 commit comments

Comments
 (0)