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/libipt_ULOG.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'extensions/libipt_ULOG.c') diff --git a/extensions/libipt_ULOG.c b/extensions/libipt_ULOG.c index aa98f6e..2fda85d 100644 --- a/extensions/libipt_ULOG.c +++ b/extensions/libipt_ULOG.c @@ -150,11 +150,6 @@ static int parse(int c, char **argv, int invert, unsigned int *flags, return 1; } -/* Final check; nothing. */ -static void final_check(unsigned int flags) -{ -} - /* Saves the union ipt_targinfo in parsable form to stdout. */ static void save(const void *ip, const struct xt_entry_target *target) @@ -200,7 +195,6 @@ static struct iptables_target ulog = { .help = &help, .init = &init, .parse = &parse, - .final_check = &final_check, .print = &print, .save = &save, .extra_opts = opts -- cgit v1.2.3