[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20211129062316.221653-1-bpoirier@nvidia.com>
Date: Mon, 29 Nov 2021 15:23:14 +0900
From: Benjamin Poirier <bpoirier@...dia.com>
To: "David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>
CC: Kangmin Park <l4stpr0gr4m@...il.com>,
Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>,
<netdev@...r.kernel.org>, Roopa Prabhu <roopa@...dia.com>,
David Ahern <dsahern@...il.com>
Subject: [PATCH net-next 0/2] net: mpls: Cleanup nexthop iterator macros
From: Benjamin Poirier <benjamin.poirier@...il.com>
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(-)
--
2.33.1
Powered by blists - more mailing lists