]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
net: fec_mxc: Remove non-DM_ETH code
authorTom Rini <trini@konsulko.com>
Sun, 27 Nov 2022 15:25:12 +0000 (10:25 -0500)
committerTom Rini <trini@konsulko.com>
Wed, 7 Dec 2022 21:04:17 +0000 (16:04 -0500)
As DM_ETH is required for all network drivers, it's now safe to
remove the non-DM_ETH support code.

Signed-off-by: Tom Rini <trini@konsulko.com>
drivers/net/fec_mxc.h

index 48faa33d66eca7fa3f671e5efaa3302666038060..77bfc1cbf4506bd349caa1001d5c689928dd7b23 100644 (file)
@@ -263,9 +263,7 @@ struct fec_priv {
        uint32_t reset_delay;
        uint32_t reset_post_delay;
 #endif
-#ifdef CONFIG_DM_ETH
        u32 interface;
-#endif
        struct clk ipg_clk;
        struct clk ahb_clk;
        struct clk clk_enet_out;