net: mpls: Cleanup nexthop iterator macros
Status from this message: This series was applied to netdev/net-next.git (master)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 2 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | net: mpls: Remove duplicate variable from iterator macronet/ | +6 | 0 replies | Applied |
| 2/2 | net: mpls: Make for_nexthops iterator constnet/ net/ | +5 | 0 replies | Applied |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH net-next 0/2] net: mpls: Cleanup nexthop iterator macros
From: Benjamin Poirier <[email protected]>
The mpls macros for_nexthops and change_nexthops were probably copied from decnet or ipv4 but they grew a superfluous variable and lost a beneficial "const".
Benjamin Poirier (2):
net: mpls: Remove duplicate variable from iterator macro
net: mpls: Make for_nexthops iterator const
net/mpls/af_mpls.c | 8 ++++---- net/mpls/internal.h | 13 ++++++------- 2 files changed, 10 insertions(+), 11 deletions(-)
Signature · 1 line
2.33.1