From 18992db3bfdb3b695cae12b53434f560cbf8e2ae Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 30 Jul 2007 13:38:44 +0000 Subject: Remove the .next=NULL field. This is automatically initialized to zero. I've kept .print=NULL and .save=NULL so it stands out (since iptables will do the print/save then). Signed-off-by: Jan Engelhardt --- extensions/libxt_dscp.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'extensions/libxt_dscp.c') diff --git a/extensions/libxt_dscp.c b/extensions/libxt_dscp.c index 8ca74443..3f5f6c64 100644 --- a/extensions/libxt_dscp.c +++ b/extensions/libxt_dscp.c @@ -153,7 +153,6 @@ save(const void *ip, const struct xt_entry_match *match) } static struct xtables_match dscp = { - .next = NULL, .family = AF_INET, .name = "dscp", .version = IPTABLES_VERSION, @@ -168,7 +167,6 @@ static struct xtables_match dscp = { }; static struct xtables_match dscp6 = { - .next = NULL, .family = AF_INET6, .name = "dscp", .version = IPTABLES_VERSION, -- cgit v1.2.3