net/ipv6/exthdrs_core.c: Checkpatch cleanups
authorEldad Zack <eldad@fogrefinery.com>
Sun, 1 Apr 2012 07:49:05 +0000 (07:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Apr 2012 08:33:46 +0000 (04:33 -0400)
exthdrs_core.c:113: WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
exthdrs_core.c:114: WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable

Signed-off-by: Eldad Zack <eldad@fogrefinery.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/exthdrs_core.c

index 72957f4a7c6c9f6c24056a5c3eb6046b61c7a3ea..7b1a884634d5b4c5c8aedb4dc6439df141078e9d 100644 (file)
@@ -21,6 +21,7 @@ int ipv6_ext_hdr(u8 nexthdr)
                 (nexthdr == NEXTHDR_NONE)      ||
                 (nexthdr == NEXTHDR_DEST);
 }
+EXPORT_SYMBOL(ipv6_ext_hdr);
 
 /*
  * Skip any extension headers. This is used by the ICMP module.
@@ -109,6 +110,4 @@ int ipv6_skip_exthdr(const struct sk_buff *skb, int start, u8 *nexthdrp,
        *nexthdrp = nexthdr;
        return start;
 }
-
-EXPORT_SYMBOL(ipv6_ext_hdr);
 EXPORT_SYMBOL(ipv6_skip_exthdr);