diff --git a/daemon/nftables.c b/daemon/nftables.c index e30a87644..4499eedf2 100644 --- a/daemon/nftables.c +++ b/daemon/nftables.c @@ -204,11 +204,6 @@ static bool set_rule_handle(struct nftnl_rule *r, void *data) { } -typedef union { - void (*rule_fn)(struct nlmsghdr *nlh, struct nftnl_rule *t); - void (*generic_fn)(struct nlmsghdr *nlh, void *); -} test; - static const char *__batch_request(struct mnl_socket *nl, int family, uint32_t *seq, uint16_t type, uint16_t flags, union {