From 830132ac9c0d270bf9dcfe85c2464e3fe8c73fb9 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 4 Oct 2007 16:24:50 +0000 Subject: Delete empty ->final_check() functions Deletes empty ->final_check() functions, and makes ip[6]tables checks for NULL on these. Signed-off-by: Jan Engelhardt --- extensions/libip6t_mh.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'extensions/libip6t_mh.c') diff --git a/extensions/libip6t_mh.c b/extensions/libip6t_mh.c index 99809c0e..24ab4995 100644 --- a/extensions/libip6t_mh.c +++ b/extensions/libip6t_mh.c @@ -150,11 +150,6 @@ static int parse(int c, char **argv, int invert, unsigned int *flags, return 1; } -/* Final check; we don't care. */ -static void final_check(unsigned int flags) -{ -} - static const char *type_to_name(u_int8_t type) { unsigned int i; @@ -238,7 +233,6 @@ static struct ip6tables_match mh = { .help = &help, .init = &init, .parse = &parse, - .final_check = &final_check, .print = &print, .save = &save, .extra_opts = opts, -- cgit v1.2.3