diff options
author | David S. Miller <davem@davemloft.net> | 2012-04-14 21:37:40 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-14 21:37:40 -0400 |
commit | cf22f9a2b83e72082c43ef5c942d5daf9301da8e (patch) | |
tree | 1dce181d660befd77672bef922f4cb278a973dd0 /net/ipv6 | |
parent | fd9071ec61db42074a6343427b7999436021ffd2 (diff) |
ipv6: Remove unused argument to addrconf_dad_start().
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
-rw-r--r-- | net/ipv6/addrconf.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c index fcd230a6235a..5c031c07776b 100644 --- a/net/ipv6/addrconf.c +++ b/net/ipv6/addrconf.c | |||
@@ -149,7 +149,7 @@ static void addrconf_type_change(struct net_device *dev, | |||
149 | unsigned long event); | 149 | unsigned long event); |
150 | static int addrconf_ifdown(struct net_device *dev, int how); | 150 | static int addrconf_ifdown(struct net_device *dev, int how); |
151 | 151 | ||
152 | static void addrconf_dad_start(struct inet6_ifaddr *ifp, u32 flags); | 152 | static void addrconf_dad_start(struct inet6_ifaddr *ifp); |
153 | static void addrconf_dad_timer(unsigned long data); | 153 | static void addrconf_dad_timer(unsigned long data); |
154 | static void addrconf_dad_completed(struct inet6_ifaddr *ifp); | 154 | static void addrconf_dad_completed(struct inet6_ifaddr *ifp); |
155 | static void addrconf_dad_run(struct inet6_dev *idev); | 155 | static void addrconf_dad_run(struct inet6_dev *idev); |
@@ -929,7 +929,7 @@ retry: | |||
929 | ift->tstamp = tmp_tstamp; | 929 | ift->tstamp = tmp_tstamp; |
930 | spin_unlock_bh(&ift->lock); | 930 | spin_unlock_bh(&ift->lock); |
931 | 931 | ||
932 | addrconf_dad_start(ift, 0); | 932 | addrconf_dad_start(ift); |
933 | in6_ifa_put(ift); | 933 | in6_ifa_put(ift); |
934 | in6_dev_put(idev); | 934 | in6_dev_put(idev); |
935 | out: | 935 | out: |
@@ -1959,7 +1959,7 @@ ok: | |||
1959 | 1959 | ||
1960 | update_lft = create = 1; | 1960 | update_lft = create = 1; |
1961 | ifp->cstamp = jiffies; | 1961 | ifp->cstamp = jiffies; |
1962 | addrconf_dad_start(ifp, RTF_ADDRCONF|RTF_PREFIX_RT); | 1962 | addrconf_dad_start(ifp); |
1963 | } | 1963 | } |
1964 | 1964 | ||
1965 | if (ifp) { | 1965 | if (ifp) { |
@@ -2238,7 +2238,7 @@ static int inet6_addr_add(struct net *net, int ifindex, const struct in6_addr *p | |||
2238 | * that the Optimistic flag should not be set for | 2238 | * that the Optimistic flag should not be set for |
2239 | * manually configured addresses | 2239 | * manually configured addresses |
2240 | */ | 2240 | */ |
2241 | addrconf_dad_start(ifp, 0); | 2241 | addrconf_dad_start(ifp); |
2242 | in6_ifa_put(ifp); | 2242 | in6_ifa_put(ifp); |
2243 | addrconf_verify(0); | 2243 | addrconf_verify(0); |
2244 | return 0; | 2244 | return 0; |
@@ -2425,7 +2425,7 @@ static void addrconf_add_linklocal(struct inet6_dev *idev, const struct in6_addr | |||
2425 | ifp = ipv6_add_addr(idev, addr, 64, IFA_LINK, addr_flags); | 2425 | ifp = ipv6_add_addr(idev, addr, 64, IFA_LINK, addr_flags); |
2426 | if (!IS_ERR(ifp)) { | 2426 | if (!IS_ERR(ifp)) { |
2427 | addrconf_prefix_route(&ifp->addr, ifp->prefix_len, idev->dev, 0, 0); | 2427 | addrconf_prefix_route(&ifp->addr, ifp->prefix_len, idev->dev, 0, 0); |
2428 | addrconf_dad_start(ifp, 0); | 2428 | addrconf_dad_start(ifp); |
2429 | in6_ifa_put(ifp); | 2429 | in6_ifa_put(ifp); |
2430 | } | 2430 | } |
2431 | } | 2431 | } |
@@ -2920,7 +2920,7 @@ static void addrconf_dad_kick(struct inet6_ifaddr *ifp) | |||
2920 | addrconf_mod_timer(ifp, AC_DAD, rand_num); | 2920 | addrconf_mod_timer(ifp, AC_DAD, rand_num); |
2921 | } | 2921 | } |
2922 | 2922 | ||
2923 | static void addrconf_dad_start(struct inet6_ifaddr *ifp, u32 flags) | 2923 | static void addrconf_dad_start(struct inet6_ifaddr *ifp) |
2924 | { | 2924 | { |
2925 | struct inet6_dev *idev = ifp->idev; | 2925 | struct inet6_dev *idev = ifp->idev; |
2926 | struct net_device *dev = idev->dev; | 2926 | struct net_device *dev = idev->dev; |