Commit c15df306 authored by YOSHIFUJI Hideaki's avatar YOSHIFUJI Hideaki Committed by David S. Miller

ipv6: Remove unused arguments for __ipv6_dev_get_saddr().

Signed-off-by: default avatarYOSHIFUJI Hideaki <hideaki.yoshifuji@miraclelinux.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 0d057881
...@@ -1360,8 +1360,6 @@ static int ipv6_get_saddr_eval(struct net *net, ...@@ -1360,8 +1360,6 @@ static int ipv6_get_saddr_eval(struct net *net,
static int __ipv6_dev_get_saddr(struct net *net, static int __ipv6_dev_get_saddr(struct net *net,
struct ipv6_saddr_dst *dst, struct ipv6_saddr_dst *dst,
unsigned int prefs,
const struct in6_addr *saddr,
struct inet6_dev *idev, struct inet6_dev *idev,
struct ipv6_saddr_score *scores, struct ipv6_saddr_score *scores,
int hiscore_idx) int hiscore_idx)
...@@ -1485,13 +1483,13 @@ int ipv6_dev_get_saddr(struct net *net, const struct net_device *dst_dev, ...@@ -1485,13 +1483,13 @@ int ipv6_dev_get_saddr(struct net *net, const struct net_device *dst_dev,
if (use_oif_addr) { if (use_oif_addr) {
if (idev) 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 { } else {
for_each_netdev_rcu(net, dev) { for_each_netdev_rcu(net, dev) {
idev = __in6_dev_get(dev); idev = __in6_dev_get(dev);
if (!idev) if (!idev)
continue; 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(); rcu_read_unlock();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment