All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ipv6: ipv6_create_tempaddr cleanup
@ 2013-08-30 15:02 Petr Holasek
  2013-09-01 18:35 ` Hannes Frederic Sowa
  2013-09-04  2:17 ` David Miller
  0 siblings, 2 replies; 4+ messages in thread
From: Petr Holasek @ 2013-08-30 15:02 UTC (permalink / raw)
  To: David S. Miller; +Cc: Hannes Frederic Sowa, netdev, linux-kernel, Petr Holasek

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 <pholasek@redhat.com>
---
 net/ipv6/addrconf.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c
index 498ea99..05c83dd 100644
--- a/net/ipv6/addrconf.c
+++ b/net/ipv6/addrconf.c
@@ -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);
 
-- 
1.8.1.4


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] ipv6: ipv6_create_tempaddr cleanup
  2013-08-30 15:02 [PATCH] ipv6: ipv6_create_tempaddr cleanup Petr Holasek
@ 2013-09-01 18:35 ` Hannes Frederic Sowa
  2013-09-02 14:32   ` Ding Tianhong
  2013-09-04  2:17 ` David Miller
  1 sibling, 1 reply; 4+ messages in thread
From: Hannes Frederic Sowa @ 2013-09-01 18:35 UTC (permalink / raw)
  To: Petr Holasek; +Cc: David S. Miller, netdev, linux-kernel

On Fri, Aug 30, 2013 at 05:02:38PM +0200, Petr Holasek wrote:
> 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 <pholasek@redhat.com>

Uh, yes, I missed that. Thanks a lot!

Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] ipv6: ipv6_create_tempaddr cleanup
  2013-09-01 18:35 ` Hannes Frederic Sowa
@ 2013-09-02 14:32   ` Ding Tianhong
  0 siblings, 0 replies; 4+ messages in thread
From: Ding Tianhong @ 2013-09-02 14:32 UTC (permalink / raw)
  To: Petr Holasek, David S. Miller, netdev, linux-kernel

于 2013/9/2 2:35, Hannes Frederic Sowa 写道:
> On Fri, Aug 30, 2013 at 05:02:38PM +0200, Petr Holasek wrote:
>> 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 <pholasek@redhat.com>
> Uh, yes, I missed that. Thanks a lot!
>
> Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>

Acked-by: Ding Tianhong <dingtianhong@huawei.com>
> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] ipv6: ipv6_create_tempaddr cleanup
  2013-08-30 15:02 [PATCH] ipv6: ipv6_create_tempaddr cleanup Petr Holasek
  2013-09-01 18:35 ` Hannes Frederic Sowa
@ 2013-09-04  2:17 ` David Miller
  1 sibling, 0 replies; 4+ messages in thread
From: David Miller @ 2013-09-04  2:17 UTC (permalink / raw)
  To: pholasek; +Cc: hannes, netdev, linux-kernel

From: Petr Holasek <pholasek@redhat.com>
Date: Fri, 30 Aug 2013 17:02:38 +0200

> 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 <pholasek@redhat.com>

Applied, thanks.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-09-04  2:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-30 15:02 [PATCH] ipv6: ipv6_create_tempaddr cleanup Petr Holasek
2013-09-01 18:35 ` Hannes Frederic Sowa
2013-09-02 14:32   ` Ding Tianhong
2013-09-04  2:17 ` David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.