]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
net: macb: np4 doesn't need a usrio pointer
authorConor Dooley <conor.dooley@microchip.com>
Wed, 25 Mar 2026 16:28:10 +0000 (16:28 +0000)
committerJakub Kicinski <kuba@kernel.org>
Sun, 29 Mar 2026 21:34:28 +0000 (14:34 -0700)
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>
Link: https://patch.msgid.link/20260325-passover-rimless-73c19c67d94b@spud
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/cadence/macb_main.c

index ab584a17320200a247e0855e2e2c7e6d1ee81830..464b9e5bcdcf8a8285b7f658c9878e4fb1c1cd9f 100644 (file)
@@ -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 = {