OSDN Git Service

netfilter: Convert print_tuple functions to return void
[android-x86/kernel.git] / net / ipv6 / netfilter / nf_conntrack_proto_icmpv6.c
index b3807c5..90388d6 100644 (file)
@@ -84,13 +84,13 @@ static bool icmpv6_invert_tuple(struct nf_conntrack_tuple *tuple,
 }
 
 /* Print out the per-protocol part of the tuple. */
-static int icmpv6_print_tuple(struct seq_file *s,
+static void icmpv6_print_tuple(struct seq_file *s,
                              const struct nf_conntrack_tuple *tuple)
 {
-       return seq_printf(s, "type=%u code=%u id=%u ",
-                         tuple->dst.u.icmp.type,
-                         tuple->dst.u.icmp.code,
-                         ntohs(tuple->src.u.icmp.id));
+       seq_printf(s, "type=%u code=%u id=%u ",
+                  tuple->dst.u.icmp.type,
+                  tuple->dst.u.icmp.code,
+                  ntohs(tuple->src.u.icmp.id));
 }
 
 static unsigned int *icmpv6_get_timeouts(struct net *net)