[IPV6]: Clean up hop-by-hop options handler.
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Tue, 18 Apr 2006 21:48:45 +0000 (14:48 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Tue, 18 Apr 2006 22:57:53 +0000 (15:57 -0700)
commitb809739a1b455396c21de13bcbf6669faf82f747
tree6d3db33b6f07e5b61e76409c3791fa7fdbaa6807
parente5d25a90886d62d88fdd7cd5c3375f4fe436be64
[IPV6]: Clean up hop-by-hop options handler.

- Removed unused argument (nhoff) for ipv6_parse_hopopts().
- Make ipv6_parse_hopopts() to align with other extension header
  handlers.
- Removed pointless assignment (hdr), which is not used afterwards.

Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ipv6.h
net/ipv6/exthdrs.c
net/ipv6/ip6_input.c