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_NFLOG.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'extensions/libxt_NFLOG.c') diff --git a/extensions/libxt_NFLOG.c b/extensions/libxt_NFLOG.c index 0bbb8ce..11e47a4 100644 --- a/extensions/libxt_NFLOG.c +++ b/extensions/libxt_NFLOG.c @@ -110,11 +110,6 @@ static int parse(int c, char **argv, int invert, unsigned int *flags, return 1; } -static void final_check(unsigned int flags) -{ - return; -} - static void nflog_print(const struct xt_nflog_info *info, char *prefix) { if (info->prefix[0] != '\0') @@ -151,7 +146,6 @@ static struct xtables_target nflog = { .help = help, .init = init, .parse = parse, - .final_check = final_check, .print = print, .save = save, .extra_opts = opts, @@ -166,7 +160,6 @@ static struct xtables_target nflog6 = { .help = help, .init = init, .parse = parse, - .final_check = final_check, .print = print, .save = save, .extra_opts = opts, -- cgit v1.2.3