summaryrefslogtreecommitdiffstats
path: root/extensions/libip6t_mh.c
diff options
context:
space:
mode:
author/C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net </C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net>2007-10-04 16:24:50 +0000
committer/C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net </C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net>2007-10-04 16:24:50 +0000
commitbce702101149d31162e1a2851a268f07824f3d6b (patch)
tree780486eb33c8b6ff11d760260823f07cc2805822 /extensions/libip6t_mh.c
parent39e512ce0d96670eded22483a94bc4dcb34b4ae0 (diff)
[PATCH 03/14] 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/libip6t_mh.c')
-rw-r--r--extensions/libip6t_mh.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/extensions/libip6t_mh.c b/extensions/libip6t_mh.c
index 99809c0..24ab499 100644
--- a/extensions/libip6t_mh.c
+++ b/extensions/libip6t_mh.c
@@ -150,11 +150,6 @@ static int parse(int c, char **argv, int invert, unsigned int *flags,
return 1;
}
-/* Final check; we don't care. */
-static void final_check(unsigned int flags)
-{
-}
-
static const char *type_to_name(u_int8_t type)
{
unsigned int i;
@@ -238,7 +233,6 @@ static struct ip6tables_match mh = {
.help = &help,
.init = &init,
.parse = &parse,
- .final_check = &final_check,
.print = &print,
.save = &save,
.extra_opts = opts,