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/libxt_TRACE.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'extensions/libxt_TRACE.c') diff --git a/extensions/libxt_TRACE.c b/extensions/libxt_TRACE.c index afe5498d..48015e5e 100644 --- a/extensions/libxt_TRACE.c +++ b/extensions/libxt_TRACE.c @@ -26,11 +26,6 @@ parse(int c, char **argv, int invert, unsigned int *flags, return 0; } -static void -final_check(unsigned int flags) -{ -} - static struct xtables_target trace = { .family = AF_INET, .name = "TRACE", @@ -39,7 +34,6 @@ static struct xtables_target trace = { .userspacesize = XT_ALIGN(0), .help = &help, .parse = &parse, - .final_check = &final_check, .print = NULL, /* print */ .save = NULL, /* save */ }; @@ -52,7 +46,6 @@ static struct xtables_target trace6 = { .userspacesize = XT_ALIGN(0), .help = &help, .parse = &parse, - .final_check = &final_check, .print = NULL, /* print */ .save = NULL, /* save */ }; -- cgit v1.2.3