summaryrefslogtreecommitdiffstats
path: root/net/ipv6/exthdrs.c
diff options
context:
space:
mode:
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>2006-08-24 23:18:12 +0900
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-22 15:17:58 -0700
commite731c248ba9e8c7025ae8b4a3fa48e4236b82e52 (patch)
tree784c9e9420283f73604f81f31f445ab9b097795a /net/ipv6/exthdrs.c
parente4bec827feda76d5e7417a2696a75424834d564f (diff)
downloadlinux-e731c248ba9e8c7025ae8b4a3fa48e4236b82e52.tar.gz
linux-e731c248ba9e8c7025ae8b4a3fa48e4236b82e52.tar.bz2
linux-e731c248ba9e8c7025ae8b4a3fa48e4236b82e52.zip
[IPV6] MIP6: Several obvious clean-ups.
- Remove redundant code. Pointed out by Brian Haley <brian.haley@hp.com>. - Unify code paths with/without CONFIG_IPV6_MIP. - Use NIP6_FMT for IPv6 address textual presentation. - Fold long line. Pointed out by David Miller <davem@davemloft.net>. Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Diffstat (limited to 'net/ipv6/exthdrs.c')
-rw-r--r--net/ipv6/exthdrs.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/ipv6/exthdrs.c b/net/ipv6/exthdrs.c
index 6a6466bb5f26..084f78c3479b 100644
--- a/net/ipv6/exthdrs.c
+++ b/net/ipv6/exthdrs.c
@@ -87,7 +87,6 @@ int ipv6_find_tlv(struct sk_buff *skb, int offset, int type)
len -= optlen;
}
/* not_found */
- return -1;
bad:
return -1;
}