mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
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]. Signed-off-by: Petr Holasek <[email protected]> Acked-by: Hannes Frederic Sowa <[email protected]> Acked-by: Ding Tianhong <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
61e76b178d
commit
13c7bf0871
1 changed files with 0 additions and 2 deletions
|
|
@ -1054,7 +1054,6 @@ static int ipv6_create_tempaddr(struct inet6_ifaddr *ifp, struct inet6_ifaddr *i
|
|||
unsigned 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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue