Skip to content

src: Removes unused functions.

Varsha Rao netfilter-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5src: Remove xt_stmt_() functions.include/statement.h include/xt.h src/statement.c +1 more+0 -1060 replies
2/5src: gmputil: Remove mpz_get_be64() function.include/gmputil.h src/gmputil.c+0 -60 replies
3/5src: cli: Remove cli_display() function.include/cli.h src/cli.c+0 -270 replies
4/5src: netlink: Remove unused functions.include/netlink.h src/netlink.c+0 -1150 replies
5/5src: mnl: Remove unused functions.include/mnl.h src/mnl.c+0 -1040 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH nft 0/5] src: Removes unused functions.

This patch set removes structure xt_stmt_ops and the following functions, as they are not used.

chain_get_cb
cli_display
mnl_nft_chain_get
mnl_nft_rule_add
mnl_nft_rule_delete
mnl_nft_set_get
mnl_nft_table_get
mpz_get_be64
netlink_add_rule_list
netlink_dump_table
netlink_get_chain
netlink_get_set
netlink_get_table
netlink_list_chain
set_get_cb
table_get_cb
xt_stmt_alloc
xt_stmt_destroy
xt_stmt_print
xt_stmt_release
xt_stmt_xlate

Varsha Rao (5):
src: Remove xt_stmt_() functions.
src: gmputil: Remove mpz_get_be64() function.
src: cli: Remove cli_display() function.
src: netlink: Remove unused functions.
src: mnl: Remove unused functions.

 include/cli.h       |   1 -
 include/gmputil.h   |   1 -
 include/mnl.h       |  10 -----
 include/netlink.h   |  11 ------
 include/statement.h |   2 -
 include/xt.h        |   7 ----
 src/cli.c           |  26 -------------
 src/gmputil.c       |   5 ---
 src/mnl.c           |  94 -----------------------------------------------
 src/netlink.c       | 104 ----------------------------------------------------
 src/statement.c     |  23 ------------
 src/xt.c            |  74 -------------------------------------
 12 files changed, 358 deletions(-)
Signature · 1 line
2.13.5