From bce702101149d31162e1a2851a268f07824f3d6b Mon Sep 17 00:00:00 2001 From: "/C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net" Date: Thu, 4 Oct 2007 16:24:50 +0000 Subject: [PATCH 03/14] 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 71b555e..2be5c8b 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