From f4d0f16834f62e7e895f05f2e961d62487327f4b Mon Sep 17 00:00:00 2001 From: Jeremy Sowden Date: Fri, 19 Jul 2019 12:10:10 +0100 Subject: rule: removed duplicate member initializer. Initialization of a netlink_ctx included two initializers for .nft. Removed one of them. Fixes: 2dc07bcd7eaa ("src: pass struct nft_ctx through struct netlink_ctx") Signed-off-by: Jeremy Sowden Acked-by: Phil Sutter Signed-off-by: Pablo Neira Ayuso --- src/rule.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src') diff --git a/src/rule.c b/src/rule.c index b957b457..0ebe91e7 100644 --- a/src/rule.c +++ b/src/rule.c @@ -240,7 +240,6 @@ int cache_update(struct nft_ctx *nft, unsigned int flags, struct list_head *msgs .list = LIST_HEAD_INIT(ctx.list), .nft = nft, .msgs = msgs, - .nft = nft, }; struct nft_cache *cache = &nft->cache; uint32_t genid, genid_stop; -- cgit v1.2.3