Yang Hongyang ce8632ba6b ipv6:remove useless check
After switch (rthdr->type) {...},the check below is completely useless.Because:
if the type is 2,then hdrlen must be 2 and segments_left must be 1,clearly the
check is redundant;if the type is not 2,then goto sticky_done,the check is useless
too.

Signed-off-by: Yang Hongyang <yanghy@cn.fujitsu.com>
Reviewed-by: Shan Wei <shanwei@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-04-14 02:21:41 -07:00
..
2008-10-29 12:52:50 -07:00
2008-11-25 17:59:27 -08:00
2008-11-25 17:35:18 -08:00
2008-11-25 17:59:27 -08:00
2008-10-29 12:52:50 -07:00
2009-01-31 00:51:49 -08:00
2008-11-25 17:30:50 -08:00
2009-04-14 02:21:41 -07:00
2008-11-25 17:51:01 -08:00
2008-06-11 21:00:38 -07:00
2008-11-25 17:35:18 -08:00
2008-11-25 17:35:18 -08:00
2008-11-25 17:59:52 -08:00