Remove unnecessary verdict_expr_alloc() invocation. Fixes: 4ab1e5e60779 ("src: allow use of 'verdict' in typeof definitions") Signed-off-by: Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> --- src/expression.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/expression.c b/src/expression.c index 8c6beef9a5e5..0c5276d1118d 100644 --- a/src/expression.c +++ b/src/expression.c @@ -260,7 +260,7 @@ static int verdict_expr_build_udata(struct nftnl_udata_buf *udbuf, static struct expr *verdict_expr_parse_udata(const struct nftnl_udata *attr) { - struct expr *e = verdict_expr_alloc(&internal_location, 0, NULL); + struct expr *e; e = symbol_expr_alloc(&internal_location, SYMBOL_VALUE, NULL, "verdict"); e->len = NFT_REG_SIZE * BITS_PER_BYTE; -- 2.20.1