diff mbox series

[net-next,02/11] net: dsa: seville: don't write to MEM_ENA twice

Message ID 20200918105753.3473725-3-olteanv@gmail.com
State New
Headers show
Series [net-next,01/11] net: dsa: felix: use ocelot_field_{read,write} helpers consistently | expand

Commit Message

Vladimir Oltean Sept. 18, 2020, 10:57 a.m. UTC
From: Vladimir Oltean <vladimir.oltean@nxp.com>

There is another one of these right above the readx_poll_status.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
---
 drivers/net/dsa/ocelot/seville_vsc9953.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/net/dsa/ocelot/seville_vsc9953.c b/drivers/net/dsa/ocelot/seville_vsc9953.c
index 83a1ab9393e9..df5709326ce1 100644
--- a/drivers/net/dsa/ocelot/seville_vsc9953.c
+++ b/drivers/net/dsa/ocelot/seville_vsc9953.c
@@ -847,7 +847,6 @@  static int vsc9953_reset(struct ocelot *ocelot)
 	}
 
 	/* enable switch core */
-	ocelot_field_write(ocelot, SYS_RESET_CFG_MEM_ENA, 1);
 	ocelot_field_write(ocelot, SYS_RESET_CFG_CORE_ENA, 1);
 
 	return 0;