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_u32.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'extensions/libxt_u32.c') diff --git a/extensions/libxt_u32.c b/extensions/libxt_u32.c index 71b555e9..2be5c8be 100644 --- a/extensions/libxt_u32.c +++ b/extensions/libxt_u32.c @@ -247,10 +247,6 @@ static int u32_parse(int c, char **argv, int invert, unsigned int *flags, } } -static void u32_check(unsigned int flags) -{ -} - static void u32_print(const void *ip, const struct xt_entry_match *match, int numeric) { @@ -280,7 +276,6 @@ static struct xtables_match u32_reg = { .userspacesize = XT_ALIGN(sizeof(struct xt_u32)), .help = u32_help, .parse = u32_parse, - .final_check = u32_check, .print = u32_print, .save = u32_save, .extra_opts = u32_opts, @@ -294,7 +289,6 @@ static struct xtables_match u32_reg6 = { .userspacesize = XT_ALIGN(sizeof(struct xt_u32)), .help = u32_help, .parse = u32_parse, - .final_check = u32_check, .print = u32_print, .save = u32_save, .extra_opts = u32_opts, -- cgit v1.2.3