summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_limit.c
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2007-10-04 16:24:50 +0000
committerPatrick McHardy <kaber@trash.net>2007-10-04 16:24:50 +0000
commit830132ac9c0d270bf9dcfe85c2464e3fe8c73fb9 (patch)
tree780486eb33c8b6ff11d760260823f07cc2805822 /extensions/libxt_limit.c
parent0463ee1f28946cc49815737daa0ced0c68f39f0b (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_limit.c')
-rw-r--r--extensions/libxt_limit.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/extensions/libxt_limit.c b/extensions/libxt_limit.c
index e9c89c3a..13468eba 100644
--- a/extensions/libxt_limit.c
+++ b/extensions/libxt_limit.c
@@ -126,11 +126,6 @@ parse(int c, char **argv, int invert, unsigned int *flags,
return 1;
}
-/* Final check; nothing. */
-static void final_check(unsigned int flags)
-{
-}
-
static struct rates
{
const char *name;
@@ -183,7 +178,6 @@ static struct xtables_match limit = {
.help = &help,
.init = &init,
.parse = &parse,
- .final_check = &final_check,
.print = &print,
.save = &save,
.extra_opts = opts
@@ -198,7 +192,6 @@ static struct xtables_match limit6 = {
.help = &help,
.init = &init,
.parse = &parse,
- .final_check = &final_check,
.print = &print,
.save = &save,
.extra_opts = opts