diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-03-07 15:23:33 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-03-07 15:23:52 +0100 |
commit | d2b961353298b26b4e4a1d7eec19ea4ae5d41c47 (patch) | |
tree | 5b90788ba61d059b684b24244bb3fb9d54b92fa2 /src/libnftables.c | |
parent | fbcb888b311a9386f9e6cf8e36b32a270470e2e7 (diff) |
src: remove unused batch support checks
Follow up after cc8c5fd02448 ("netlink: remove non-batching routine").
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/libnftables.c')
-rw-r--r-- | src/libnftables.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libnftables.c b/src/libnftables.c index 1d1975e9..9b2f65ae 100644 --- a/src/libnftables.c +++ b/src/libnftables.c @@ -27,7 +27,6 @@ static int nft_netlink(struct nft_ctx *nft, struct cmd *cmd; struct mnl_err *err, *tmp; LIST_HEAD(err_list); - bool batch_supported = netlink_batch_supported(nf_sock, &seqnum); int ret = 0; if (list_empty(&state->cmds)) @@ -41,7 +40,6 @@ static int nft_netlink(struct nft_ctx *nft, ctx.msgs = msgs; ctx.seqnum = cmd->seqnum = mnl_seqnum_alloc(&seqnum); ctx.batch = batch; - ctx.batch_supported = batch_supported; ctx.octx = &nft->output; ctx.nf_sock = nf_sock; ctx.cache = &nft->cache; |