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_TOS.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'extensions/libipt_TOS.c') diff --git a/extensions/libipt_TOS.c b/extensions/libipt_TOS.c index f54b08f3..dac86149 100644 --- a/extensions/libipt_TOS.c +++ b/extensions/libipt_TOS.c @@ -52,12 +52,6 @@ static const struct option opts[] = { { } }; -/* Initialize the target. */ -static void -init(struct xt_entry_target *t) -{ -} - static void parse_tos(const char *s, struct ipt_tos_target_info *info) { @@ -159,7 +153,6 @@ static struct iptables_target tos = { .size = IPT_ALIGN(sizeof(struct ipt_tos_target_info)), .userspacesize = IPT_ALIGN(sizeof(struct ipt_tos_target_info)), .help = &help, - .init = &init, .parse = &parse, .final_check = &final_check, .print = &print, -- cgit v1.2.3