X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=net%2Fipv6%2Ficmp.c;h=b4a9fd51dae74bd8143b2d32e791e089f1d8562f;hb=07a936260a94ae4798527ce8f79d4f3b589ab8a3;hp=24d69dbca4d68e2f1d1444796cb3d5c33b0a1fe2;hpb=bd463a06064c4bc8497f6aa6dfb4437be8f07a3b;p=karo-tx-linux.git diff --git a/net/ipv6/icmp.c b/net/ipv6/icmp.c index 24d69dbca4d6..b4a9fd51dae7 100644 --- a/net/ipv6/icmp.c +++ b/net/ipv6/icmp.c @@ -280,7 +280,7 @@ static int icmpv6_getfrag(void *from, char *to, int offset, int len, int odd, st return 0; } -#if defined(CONFIG_IPV6_MIP6) || defined(CONFIG_IPV6_MIP6_MODULE) +#if IS_ENABLED(CONFIG_IPV6_MIP6) static void mip6_addr_swap(struct sk_buff *skb) { struct ipv6hdr *iph = ipv6_hdr(skb);