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/libxt_SECMARK.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'extensions/libxt_SECMARK.c') diff --git a/extensions/libxt_SECMARK.c b/extensions/libxt_SECMARK.c index d0c21a94..9db1514d 100644 --- a/extensions/libxt_SECMARK.c +++ b/extensions/libxt_SECMARK.c @@ -28,10 +28,6 @@ static const struct option opts[] = { { 0 } }; -/* Initialize the target. */ -static void init(struct xt_entry_target *t) -{ } - /* * Function which parses command options; returns true if it * ate an option. @@ -111,7 +107,6 @@ static struct xtables_target secmark = { .size = XT_ALIGN(sizeof(struct xt_secmark_target_info)), .userspacesize = XT_ALIGN(sizeof(struct xt_secmark_target_info)), .help = &help, - .init = &init, .parse = &parse, .final_check = &final_check, .print = &print, @@ -127,7 +122,6 @@ static struct xtables_target secmark6 = { .size = XT_ALIGN(sizeof(struct xt_secmark_target_info)), .userspacesize = XT_ALIGN(sizeof(struct xt_secmark_target_info)), .help = &help, - .init = &init, .parse = &parse, .final_check = &final_check, .print = &print, -- cgit v1.2.3