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_physdev.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'extensions/libxt_physdev.c') diff --git a/extensions/libxt_physdev.c b/extensions/libxt_physdev.c index 2be6bd18..3ddb702b 100644 --- a/extensions/libxt_physdev.c +++ b/extensions/libxt_physdev.c @@ -34,11 +34,6 @@ static const struct option opts[] = { { } }; -static void -init(struct xt_entry_match *m) -{ -} - static int parse(int c, char **argv, int invert, unsigned int *flags, const void *entry, @@ -178,7 +173,6 @@ static struct xtables_match physdev = { .size = XT_ALIGN(sizeof(struct xt_physdev_info)), .userspacesize = XT_ALIGN(sizeof(struct xt_physdev_info)), .help = &help, - .init = &init, .parse = &parse, .final_check = &final_check, .print = &print, @@ -193,7 +187,6 @@ static struct xtables_match physdev6 = { .size = XT_ALIGN(sizeof(struct xt_physdev_info)), .userspacesize = XT_ALIGN(sizeof(struct xt_physdev_info)), .help = &help, - .init = &init, .parse = &parse, .final_check = &final_check, .print = &print, -- cgit v1.2.3