[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230601172145.51357-1-stephen@networkplumber.org>
Date: Thu, 1 Jun 2023 10:21:38 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: netdev@...r.kernel.org
Cc: Stephen Hemminger <stephen@...workplumber.org>
Subject: [PATCH iproute2 0/7] localize functions where possible
This is the result of using a script to examine where functions
are defined in one file but not used in any other file.
Found some dead code in process.
Stephen Hemminger (7):
utils: make local cmdline functions static
libnetlink: drop unused rtnl_talk_iov
bridge: make print_vlan_info static
rt_names: drop unused rtnl_addrprot_a2n
ip: make print_rta_gateway static
xfrm: make xfrm_stat_print_nokeys static
rdma: make rd_attr_check static
bridge/br_common.h | 1 -
bridge/vlan.c | 3 ++-
include/libnetlink.h | 3 ---
include/rt_names.h | 1 -
include/utils.h | 3 ---
ip/ip_common.h | 2 --
ip/iproute.c | 2 +-
ip/xfrm.h | 1 -
ip/xfrm_state.c | 2 +-
lib/libnetlink.c | 6 ------
lib/rt_names.c | 33 ---------------------------------
lib/utils.c | 6 +++---
rdma/rdma.h | 1 -
rdma/utils.c | 2 +-
14 files changed, 8 insertions(+), 58 deletions(-)
--
2.39.2
Powered by blists - more mailing lists