]> git.ipfire.org Git - thirdparty/linux.git/commit
net: macb: Clean up the .usrio settings in macb_config instances
authorKevin Hao <haokexin@gmail.com>
Tue, 10 Mar 2026 10:12:09 +0000 (18:12 +0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 12 Mar 2026 02:00:33 +0000 (19:00 -0700)
commit0ae998c4efd69fd5e331db7844b8cfaf07d47aea
tree8cfda0aa1d59ffbfe08da605af180b5c3bde82a9
parent9179711ee2f70f3ba1d56d5c2e9fce04fb754198
net: macb: Clean up the .usrio settings in macb_config instances

All instances of macb_config currently have the .usrio set, but most of
them use &macb_default_usrio. In fact, there is no need to duplicate
this across all macb_config instances. Remove the .usrio setting from
instances that use &macb_default_usrio, and ensure that the default is
selected at runtime when no other value is explicitly set.

Signed-off-by: Kevin Hao <haokexin@gmail.com>
Link: https://patch.msgid.link/20260310-macb-cleanup-v1-3-928c1a91a7dc@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/cadence/macb_main.c