ipv6: ipv6_create_tempaddr cleanup
Subsystems (3)
PATCH 1/1 ipv6: ipv6_create_tempaddr cleanup
This two-liner removes max_addresses variable which is now unecessary related to patch [ipv6: remove max_addresses check from ipv6_create_tempaddr].
--- net/ipv6/addrconf.c | 2 -- 1 file changed, 2 deletions(-)
net/ipv6/addrconf.c +0 -2
@@ -1054,7 +1054,6 @@ static int ipv6_create_tempaddr(struct inet6_ifaddr *ifp, struct inet6_ifaddr *iunsigned long regen_advance;int tmp_plen;int ret =0 ; -int max_addresses;u32 addr_flags;unsigned long now = jiffies;
@@ -1100,7 +1099,6 @@ retry: idev->cnf.temp_prefered_lft + age - idev->cnf.max_desync_factor); tmp_plen = ifp->prefix_len; - max_addresses = idev->cnf.max_addresses; tmp_tstamp = ifp->tstamp;spin_unlock_bh (&ifp->lock);
Signature · 1 line
1.8.1.4
Quoted 4 lines · Petr Holasek
This two-liner removes
max_addressesvariable which is now unecessary related to patch [ipv6: removemax_addressescheck fromipv6_create_tempaddr].Signed-off-by Petr Holasek <[email protected]>
Uh, yes, I missed that. Thanks a lot!
Ding Tianhong
Acked-byQuoted 8 lines · Hannes Frederic Sowa
Quoted 4 lines · Petr Holasek
This two-liner removes
max_addressesvariable which is now unecessary related to patch [ipv6: removemax_addressescheck fromipv6_create_tempaddr].Signed-off-by Petr Holasek <[email protected]>Uh, yes, I missed that. Thanks a lot!
Quoted 5 lines
--
To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
From: Petr Holasek <[email protected]>
Date: Fri, 30 Aug 2013 17:02:38 +0200
Quoted 4 lines
This two-liner removes
max_addressesvariable which is now unecessary related to patch [ipv6: removemax_addressescheck fromipv6_create_tempaddr].Signed-off-by Petr Holasek <[email protected]>
Applied, thanks.