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/libipt_unclean.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'extensions/libipt_unclean.c') diff --git a/extensions/libipt_unclean.c b/extensions/libipt_unclean.c index 9f7712a3..2916bc3b 100644 --- a/extensions/libipt_unclean.c +++ b/extensions/libipt_unclean.c @@ -23,11 +23,6 @@ parse(int c, char **argv, int invert, unsigned int *flags, return 0; } -/* Final check; must have specified --mac. */ -static void final_check(unsigned int flags) -{ -} - static struct iptables_match unclean = { .name = "unclean", @@ -36,7 +31,6 @@ struct iptables_match unclean = { .userspacesize = IPT_ALIGN(0), .help = &help, .parse = &parse, - .final_check = &final_check, .print = NULL, .save = NULL, }; -- cgit v1.2.3