Skip to content

batman-adv: Drop ununused functions and localize when possible

Sven Eckelmann batman 1 version New

Get series with b4
b4 am [email protected] change-id 20230802-cleanup_functions-2946498ebebc

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3batman-adv: Drop unused function batadv_gw_bandwidth_setnet/batman-adv/gateway_common.c net/batman-adv/gateway_common.h+0 -900 replies
2/3batman-adv: Keep batadv_netlink_notify_* staticnet/batman-adv/netlink.c net/batman-adv/netlink.h+5 -110 replies
3/3batman-adv: Drop per algo GW section class codenet/batman-adv/bat_iv_ogm.c net/batman-adv/bat_v.c net/batman-adv/gateway_common.c +3 more+8 -1070 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] batman-adv: Drop ununused functions and localize when possible

There were a couple of functions which were still compiled but not used anymore since a while. Just drop them and make sure that other ones are local only (to make it easier to spot them in the future).

---
Sven Eckelmann (3):
batman-adv: Drop unused function batadv_gw_bandwidth_set
batman-adv: Keep batadv_netlink_notify_* static
batman-adv: Drop per algo GW section class code

 net/batman-adv/bat_iv_ogm.c     |   1 +
 net/batman-adv/bat_v.c          |  23 +-----
 net/batman-adv/gateway_common.c | 162 +---------------------------------------
 net/batman-adv/gateway_common.h |   7 --
 net/batman-adv/netlink.c        |  15 ++--
 net/batman-adv/netlink.h        |   6 --
 net/batman-adv/types.h          |   7 +-
 7 files changed, 13 insertions(+), 208 deletions(-)

---
base-commit: ed12d0c16556942c4fd52af122030182c11e60ef
change-id: 20230802-cleanup_functions-2946498ebebc

Best regards,

Signature · 1 line
Sven Eckelmann <[email protected]>