From: Alexander Aring Date: Sat, 21 Dec 2013 04:39:04 +0000 (+0100) Subject: nfs: fix dead code of ipv6_addr_scope X-Git-Tag: v3.14-rc1~77^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a8c2275493b866961f4429a741251c630c4fc6d7;p=pandora-kernel.git nfs: fix dead code of ipv6_addr_scope The correct way to check on IPV6_ADDR_SCOPE_LINKLOCAL is to check with the ipv6_addr_src_scope function. Currently this can't be work, because ipv6_addr_scope returns a int with a mask of IPV6_ADDR_SCOPE_MASK (0x00f0U) and IPV6_ADDR_SCOPE_LINKLOCAL is 0x02. So the condition is always false. Signed-off-by: Alexander Aring Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed