[PATCH v2 net-next 0/5] net: fec: do some cleanup for the driver
From: Wei Fang
Date: Mon Nov 17 2025 - 05:27:58 EST
This patch set removes some unnecessary or invalid code from the FEC
driver. See each patch for details.
---
v2 changes:
1. Improve the commit message
2. Remove the "#ifdef" guard for fec_enet_register_offset_6ul
3. Add a BUILD_BUG_ON() test to ensure that FEC_ENET_XDP_HEADROOM
provides the required alignment.
4. Collect Reviewed-by tag
v1: https://lore.kernel.org/imx/20251111100057.2660101-1-wei.fang@xxxxxxx/
---
Wei Fang (5):
net: fec: remove useless conditional preprocessor directives
net: fec: simplify the conditional preprocessor directives
net: fec: remove struct fec_enet_priv_txrx_info
net: fec: remove rx_align from fec_enet_private
net: fec: remove duplicate macros of the BD status
drivers/net/ethernet/freescale/fec.h | 30 +------
drivers/net/ethernet/freescale/fec_main.c | 101 ++++++++++------------
2 files changed, 47 insertions(+), 84 deletions(-)
--
2.34.1