aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYOSHIFUJI Hideaki <hideaki.yoshifuji@miraclelinux.com>2015-07-16 16:51:30 +0900
committerLorenzo Colitti <lorenzo@google.com>2015-09-30 16:34:12 +0900
commit7d4e36b98ebecd726dc1c84e08287677b448751d (patch)
treef244e1b69a51487563af27f91d825b66805693b6
parentbb6b3d1230e2907273b4ec52364d157667325a12 (diff)
downloadlinux-linaro-stable-7d4e36b98ebecd726dc1c84e08287677b448751d.tar.gz
ipv6: Remove unused arguments for __ipv6_dev_get_saddr().
Signed-off-by: YOSHIFUJI Hideaki <hideaki.yoshifuji@miraclelinux.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/ipv6/addrconf.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c
index 1600cfd36b26..50dbb49b40ce 100644
--- a/net/ipv6/addrconf.c
+++ b/net/ipv6/addrconf.c
@@ -1347,8 +1347,6 @@ out:
static int __ipv6_dev_get_saddr(struct net *net,
struct ipv6_saddr_dst *dst,
- unsigned int prefs,
- const struct in6_addr *saddr,
struct inet6_dev *idev,
struct ipv6_saddr_score *scores,
int hiscore_idx)
@@ -1472,13 +1470,13 @@ int ipv6_dev_get_saddr(struct net *net, const struct net_device *dst_dev,
if (use_oif_addr) {
if (idev)
- hiscore_idx = __ipv6_dev_get_saddr(net, &dst, prefs, saddr, idev, scores, hiscore_idx);
+ hiscore_idx = __ipv6_dev_get_saddr(net, &dst, idev, scores, hiscore_idx);
} else {
for_each_netdev_rcu(net, dev) {
idev = __in6_dev_get(dev);
if (!idev)
continue;
- hiscore_idx = __ipv6_dev_get_saddr(net, &dst, prefs, saddr, idev, scores, hiscore_idx);
+ hiscore_idx = __ipv6_dev_get_saddr(net, &dst, idev, scores, hiscore_idx);
}
}
rcu_read_unlock();