[PATCH net-next v5 06/14] net: macb: np4 doesn't need a usrio pointer

Conor Dooley
2026-03-25T16:29:25Z

USRIO is disabled on this platform, having a pointer to a usrio config
structure doesn't actually do anything other than look weird.

Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
---
drivers/net/ethernet/cadence/macb_main.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/net/ethernet/cadence/macb_main.c b/drivers/net/ethernet/cadence/macb_main.c
index a436521460683..a1f8a6d9554fb 100644
--- a/drivers/net/ethernet/cadence/macb_main.c
+++ b/drivers/net/ethernet/cadence/macb_main.c
@@ -5613,7 +5613,6 @@ static const struct macb_config emac_config = {

static const struct macb_config np4_config = {
.caps = MACB_CAPS_USRIO_DISABLED,
- .usrio = &at91_default_usrio,
};

static const struct macb_config zynqmp_config = {
--
2.53.0