Skip to content

net: fec: do some cleanup for the driver

Wei Fang imx lkml netdev 3 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 0 repliesApplied 5/5
  2. v25 patches 4 repliesSuperseded
  3. v15 patches 17 repliesSuperseded

Changes in v3 from the cover letter

1. Revert patch 2 to v1, fec_enet_register_offset_6ul still needs the "#ifdef" guard, otherwise, there are some build errors
2. Fix a typo in the commit message of patch 3
3. Collect Reviewed-by tag
v2: https://lore.kernel.org/imx/[email protected]/

Patches in v3 All 5 applied

#Subject and filesSizeRepliesApplied
1/5net: fec: remove useless conditional preprocessor directivesdrivers/net/ethernet/freescale/fec_main.c+0 -60 repliesApplied
2/5net: fec: simplify the conditional preprocessor directivesdrivers/net/ethernet/freescale/fec.h drivers/net/ethernet/freescale/fec_main.c+9 -230 repliesApplied
3/5net: fec: remove struct fec_enet_priv_txrx_infodrivers/net/ethernet/freescale/fec.h drivers/net/ethernet/freescale/fec_main.c+6 -130 repliesApplied
4/5net: fec: remove rx_align from fec_enet_privatedrivers/net/ethernet/freescale/fec.h drivers/net/ethernet/freescale/fec_main.c+14 -60 repliesApplied
5/5net: fec: remove duplicate macros of the BD statusdrivers/net/ethernet/freescale/fec.h drivers/net/ethernet/freescale/fec_main.c+4 -210 repliesApplied

Reviews trailers per patch

2 of 5 patches have a Reviewed-by or Acked-by.

PatchFrank Li
1/5
2/5
3/5R-b
4/5
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 net-next 0/5] net: fec: do some cleanup for the driver

This patch set removes some unnecessary or invalid code from the FEC driver. See each patch for details.

---
v3 changes:
1. Revert patch 2 to v1, fec_enet_register_offset_6ul still needs the "#ifdef" guard, otherwise, there are some build errors
2. Fix a typo in the commit message of patch 3
3. Collect Reviewed-by tag
v2: https://lore.kernel.org/imx/[email protected]/
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/[email protected]/
---

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 | 72 ++++++++++-------------
 2 files changed, 33 insertions(+), 69 deletions(-)
Signature · 1 line
2.34.1