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_u32.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_u32.c')
-rw-r--r-- | extensions/libxt_u32.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/extensions/libxt_u32.c b/extensions/libxt_u32.c index 71b555e9..2be5c8be 100644 --- a/extensions/libxt_u32.c +++ b/extensions/libxt_u32.c @@ -247,10 +247,6 @@ static int u32_parse(int c, char **argv, int invert, unsigned int *flags, } } -static void u32_check(unsigned int flags) -{ -} - static void u32_print(const void *ip, const struct xt_entry_match *match, int numeric) { @@ -280,7 +276,6 @@ static struct xtables_match u32_reg = { .userspacesize = XT_ALIGN(sizeof(struct xt_u32)), .help = u32_help, .parse = u32_parse, - .final_check = u32_check, .print = u32_print, .save = u32_save, .extra_opts = u32_opts, @@ -294,7 +289,6 @@ static struct xtables_match u32_reg6 = { .userspacesize = XT_ALIGN(sizeof(struct xt_u32)), .help = u32_help, .parse = u32_parse, - .final_check = u32_check, .print = u32_print, .save = u32_save, .extra_opts = u32_opts, |