ipv6: use ipv6_addr_scope() helper
authorCong Wang <xiyou.wangcong@gmail.com>
Wed, 22 May 2013 05:52:22 +0000 (05:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 May 2013 08:17:47 +0000 (01:17 -0700)
commit8892475386e819aa50856947948c546ccc964d96
treed57da7a52c21a84ba6555a3f3dcd9f17e43a100c
parent7996c799ae329fab1b9c8d475fd08883f0499ed9
ipv6: use ipv6_addr_scope() helper

ipv6_addr_type(&addr)&IPV6_ADDR_SCOPE_MASK could be replaced
by ipv6_addr_scope(), which is slightly faster.

Cc: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/addrconf.c