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/libipt_TTL.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'extensions/libipt_TTL.c') diff --git a/extensions/libipt_TTL.c b/extensions/libipt_TTL.c index 644c7c4..6af5c76 100644 --- a/extensions/libipt_TTL.c +++ b/extensions/libipt_TTL.c @@ -16,10 +16,6 @@ #define IPT_TTL_USED 1 -static void init(struct xt_entry_target *t) -{ -} - static void help(void) { printf( @@ -152,7 +148,6 @@ static struct iptables_target TTL = { .size = IPT_ALIGN(sizeof(struct ipt_TTL_info)), .userspacesize = IPT_ALIGN(sizeof(struct ipt_TTL_info)), .help = &help, - .init = &init, .parse = &parse, .final_check = &final_check, .print = &print, -- cgit v1.2.3