diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2007-10-04 16:24:50 +0000 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2007-10-04 16:24:50 +0000 |
commit | 830132ac9c0d270bf9dcfe85c2464e3fe8c73fb9 (patch) | |
tree | 780486eb33c8b6ff11d760260823f07cc2805822 /extensions/libxt_quota.c | |
parent | 0463ee1f28946cc49815737daa0ced0c68f39f0b (diff) |
Delete empty ->final_check() functions
Deletes empty ->final_check() functions, and makes ip[6]tables
checks for NULL on these.
Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
Diffstat (limited to 'extensions/libxt_quota.c')
-rw-r--r-- | extensions/libxt_quota.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/extensions/libxt_quota.c b/extensions/libxt_quota.c index 12a3371e..0e04d203 100644 --- a/extensions/libxt_quota.c +++ b/extensions/libxt_quota.c @@ -79,12 +79,6 @@ parse(int c, char **argv, int invert, unsigned int *flags, return 1; } -/* no final check */ -static void -final_check(unsigned int flags) -{ -} - struct xtables_match quota = { .family = AF_INET, .name = "quota", @@ -93,7 +87,6 @@ struct xtables_match quota = { .userspacesize = offsetof(struct xt_quota_info, quota), .help = &help, .parse = &parse, - .final_check = &final_check, .print = &print, .save = &save, .extra_opts = opts @@ -107,7 +100,6 @@ struct xtables_match quota6 = { .userspacesize = offsetof(struct xt_quota_info, quota), .help = &help, .parse = &parse, - .final_check = &final_check, .print = &print, .save = &save, .extra_opts = opts |