From 39e512ce0d96670eded22483a94bc4dcb34b4ae0 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:00 +0000 Subject: [PATCH 02/14] Delete empty ->init() functions Deletes empty ->init() functions. ip[6]tables already checks for .init being NULL or not. Signed-off-by: Jan Engelhardt --- extensions/libxt_NOTRACK.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'extensions/libxt_NOTRACK.c') diff --git a/extensions/libxt_NOTRACK.c b/extensions/libxt_NOTRACK.c index 4973303..8e23753 100644 --- a/extensions/libxt_NOTRACK.c +++ b/extensions/libxt_NOTRACK.c @@ -16,12 +16,6 @@ help(void) IPTABLES_VERSION); } -/* Initialize the target. */ -static void -init(struct xt_entry_target *t) -{ -} - /* Function which parses command options; returns true if it ate an option */ static int @@ -46,7 +40,6 @@ struct xtables_target notrack = .size = XT_ALIGN(0), .userspacesize = XT_ALIGN(0), .help = &help, - .init = &init, .parse = &parse, .final_check = &final_check, }; @@ -60,7 +53,6 @@ struct xtables_target notrack6 = .size = XT_ALIGN(0), .userspacesize = XT_ALIGN(0), .help = &help, - .init = &init, .parse = &parse, .final_check = &final_check, }; -- cgit v1.2.3