From 0463ee1f28946cc49815737daa0ced0c68f39f0b Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 4 Oct 2007 16:24:00 +0000 Subject: 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/libipt_MIRROR.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'extensions/libipt_MIRROR.c') diff --git a/extensions/libipt_MIRROR.c b/extensions/libipt_MIRROR.c index 255f4c2f..292b13dc 100644 --- a/extensions/libipt_MIRROR.c +++ b/extensions/libipt_MIRROR.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 @@ -43,7 +37,6 @@ static struct iptables_target mirror = { .size = IPT_ALIGN(0), .userspacesize = IPT_ALIGN(0), .help = &help, - .init = &init, .parse = &parse, .final_check = &final_check, .print = NULL, -- cgit v1.2.3