* [PATCH net-next] ipv6: Remove unused arguments for __ipv6_dev_get_saddr().
@ 2015-07-16 7:51 YOSHIFUJI Hideaki
2015-07-16 8:01 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: YOSHIFUJI Hideaki @ 2015-07-16 7:51 UTC (permalink / raw)
To: davem, netdev; +Cc: YOSHIFUJI Hideaki/吉藤英明
Signed-off-by: YOSHIFUJI Hideaki <hideaki.yoshifuji@miraclelinux.com>
---
net/ipv6/addrconf.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c
index 4c9a024..32153c2 100644
--- a/net/ipv6/addrconf.c
+++ b/net/ipv6/addrconf.c
@@ -1360,8 +1360,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)
@@ -1485,13 +1483,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();
--
1.9.1
--
Hideaki Yoshifuji <hideaki.yoshifuji@miraclelinux.com>
Technical Division, MIRACLE LINUX CORPORATION
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH net-next] ipv6: Remove unused arguments for __ipv6_dev_get_saddr().
2015-07-16 7:51 [PATCH net-next] ipv6: Remove unused arguments for __ipv6_dev_get_saddr() YOSHIFUJI Hideaki
@ 2015-07-16 8:01 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2015-07-16 8:01 UTC (permalink / raw)
To: hideaki.yoshifuji; +Cc: netdev
From: YOSHIFUJI Hideaki <hideaki.yoshifuji@miraclelinux.com>
Date: Thu, 16 Jul 2015 16:51:30 +0900
> Signed-off-by: YOSHIFUJI Hideaki <hideaki.yoshifuji@miraclelinux.com>
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-07-16 8:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-16 7:51 [PATCH net-next] ipv6: Remove unused arguments for __ipv6_dev_get_saddr() YOSHIFUJI Hideaki
2015-07-16 8:01 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).