From cd76e3ce7f28c3b24f36992387b2e8351bed6746 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Mon, 17 Jun 2019 12:22:10 +0200 Subject: src: remove useless parameter from cache_flush() Command type is never used in cache_flush(). Signed-off-by: Pablo Neira Ayuso --- src/rule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rule.c') diff --git a/src/rule.c b/src/rule.c index 0c0fd07e..4407b0b0 100644 --- a/src/rule.c +++ b/src/rule.c @@ -297,7 +297,7 @@ static void __cache_flush(struct list_head *table_list) } } -void cache_flush(struct nft_ctx *nft, enum cmd_ops cmd, struct list_head *msgs) +void cache_flush(struct nft_ctx *nft, struct list_head *msgs) { struct netlink_ctx ctx = { .list = LIST_HEAD_INIT(ctx.list), -- cgit v1.2.3