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 --- include/rule.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include') diff --git a/include/rule.h b/include/rule.h index b41825d0..299485ff 100644 --- a/include/rule.h +++ b/include/rule.h @@ -639,8 +639,7 @@ extern int do_command(struct netlink_ctx *ctx, struct cmd *cmd); extern int cache_evaluate(struct nft_ctx *nft, struct list_head *cmds); extern int cache_update(struct nft_ctx *ctx, enum cmd_ops cmd, struct list_head *msgs); -extern void cache_flush(struct nft_ctx *ctx, enum cmd_ops cmd, - struct list_head *msgs); +extern void cache_flush(struct nft_ctx *ctx, struct list_head *msgs); extern void cache_release(struct nft_cache *cache); extern bool cache_is_complete(struct nft_cache *cache, enum cmd_ops cmd); -- cgit v1.2.3