From: Yang Hongyang Date: Mon, 13 Apr 2009 15:51:00 +0000 (+0000) Subject: ipv6:remove useless check X-Git-Tag: v2.6.30-rc3~78^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce8632ba6b3ed0bf2efa98672e2808de34250389;p=pandora-kernel.git 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 Reviewed-by: Shan Wei Signed-off-by: David S. Miller --- Reading git-diff-tree failed