commit | ce8632ba6b3ed0bf2efa98672e2808de34250389 | [log] [tgz] |
---|---|---|
author | Yang Hongyang <yanghy@cn.fujitsu.com> | Mon Apr 13 15:51:00 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue Apr 14 02:21:41 2009 -0700 |
tree | cc42184456604a4fa7ae6989c5d5fb3d165a2ff1 | |
parent | 0eca93bcf73e5939053a94f7c48f8d6fe6199e00 [diff] |
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>