From 4e7b7dddebaf836097698574923178eff22a9836 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Wed, 30 Aug 2023 17:03:13 +0200 Subject: src: simplify chain_alloc() Remove parameter to set the chain name which is only used from netlink path. Signed-off-by: Pablo Neira Ayuso --- src/parser_bison.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/parser_bison.y') diff --git a/src/parser_bison.y b/src/parser_bison.y index a248b335..4a0c09a2 100644 --- a/src/parser_bison.y +++ b/src/parser_bison.y @@ -2029,7 +2029,7 @@ table_block : /* empty */ { $$ = $-1; } chain_block_alloc : /* empty */ { - $$ = chain_alloc(NULL); + $$ = chain_alloc(); if (open_scope(state, &$$->scope) < 0) { erec_queue(error(&@$, "too many levels of nesting"), state->msgs); -- cgit v1.2.3