netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 net-next 0/5] net: fec: do some cleanup for the driver
@ 2025-11-17 10:19 Wei Fang
  2025-11-17 10:19 ` [PATCH v2 net-next 1/5] net: fec: remove useless conditional preprocessor directives Wei Fang
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Wei Fang @ 2025-11-17 10:19 UTC (permalink / raw)
  To: shenwei.wang, xiaoning.wang, andrew+netdev, davem, edumazet, kuba,
	pabeni, eric, Frank.Li
  Cc: imx, netdev, linux-kernel

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@nxp.com/
---

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


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2025-11-18  2:53 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-17 10:19 [PATCH v2 net-next 0/5] net: fec: do some cleanup for the driver Wei Fang
2025-11-17 10:19 ` [PATCH v2 net-next 1/5] net: fec: remove useless conditional preprocessor directives Wei Fang
2025-11-17 10:19 ` [PATCH v2 net-next 2/5] net: fec: simplify the " Wei Fang
2025-11-17 16:07   ` Frank Li
2025-11-18  2:52   ` kernel test robot
2025-11-17 10:19 ` [PATCH v2 net-next 3/5] net: fec: remove struct fec_enet_priv_txrx_info Wei Fang
2025-11-17 16:10   ` Frank Li
2025-11-18  1:59     ` Wei Fang
2025-11-17 10:19 ` [PATCH v2 net-next 4/5] net: fec: remove rx_align from fec_enet_private Wei Fang
2025-11-17 10:19 ` [PATCH v2 net-next 5/5] net: fec: remove duplicate macros of the BD status Wei Fang
2025-11-18  1:11 ` [PATCH v2 net-next 0/5] net: fec: do some cleanup for the driver Jakub Kicinski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).