diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2007-10-04 16:24:00 +0000 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2007-10-04 16:24:00 +0000 |
commit | 0463ee1f28946cc49815737daa0ced0c68f39f0b (patch) | |
tree | f29ea212a273f3e9be06601180640c01b4862769 /extensions/libipt_policy.c | |
parent | d3daa435a4790111ac6d6d0b0da2721081160341 (diff) |
Delete empty ->init() functions
Deletes empty ->init() functions. ip[6]tables already
checks for .init being NULL or not.
Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
Diffstat (limited to 'extensions/libipt_policy.c')
-rw-r--r-- | extensions/libipt_policy.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/extensions/libipt_policy.c b/extensions/libipt_policy.c index 6d6013dc..ddafed1d 100644 --- a/extensions/libipt_policy.c +++ b/extensions/libipt_policy.c @@ -93,10 +93,6 @@ static const struct option opts[] = { } }; -static void init(struct xt_entry_match *m) -{ -} - static int parse_direction(char *s) { if (strcmp(s, "in") == 0) @@ -420,7 +416,6 @@ struct iptables_match policy = { .size = IPT_ALIGN(sizeof(struct ipt_policy_info)), .userspacesize = IPT_ALIGN(sizeof(struct ipt_policy_info)), .help = help, - .init = init, .parse = parse, .final_check = final_check, .print = print, |