[net-next] vxlan: remove unused variable.

Submitted by Rami Rosen on Nov. 17, 2012, 2:08 p.m.

Details

Message ID 1353161287-22493-1-git-send-email-ramirose@gmail.com
State Accepted
Delegated to: David Miller
Headers show

Commit Message

Rami Rosen Nov. 17, 2012, 2:08 p.m.
This patch removes addrexceeded member from vxlan_dev struct as it is unused.

Signed-off-by: Rami Rosen <ramirose@gmail.com>
---
 drivers/net/vxlan.c | 1 -
 1 file changed, 1 deletion(-)

Comments

stephen hemminger Nov. 17, 2012, 5:52 p.m.
On Sat, 17 Nov 2012 16:08:07 +0200
Rami Rosen <ramirose@gmail.com> wrote:

> This patch removes addrexceeded member from vxlan_dev struct as it is unused.
> 
> Signed-off-by: Rami Rosen <ramirose@gmail.com>
> ---
>  drivers/net/vxlan.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c
> index 9814d67..288ad3a 100644
> --- a/drivers/net/vxlan.c
> +++ b/drivers/net/vxlan.c
> @@ -117,7 +117,6 @@ struct vxlan_dev {
>  	spinlock_t	  hash_lock;
>  	unsigned int	  addrcnt;
>  	unsigned int	  addrmax;
> -	unsigned int	  addrexceeded;
>  
>  	struct hlist_head fdb_head[FDB_HASH_SIZE];
>  };

Acked-by: Stephen Hemminger <shemminger@vyatta.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
David Miller Nov. 18, 2012, 3:02 a.m.
From: Stephen Hemminger <shemminger@vyatta.com>
Date: Sat, 17 Nov 2012 09:52:25 -0800

> On Sat, 17 Nov 2012 16:08:07 +0200
> Rami Rosen <ramirose@gmail.com> wrote:
> 
>> This patch removes addrexceeded member from vxlan_dev struct as it is unused.
>> 
>> Signed-off-by: Rami Rosen <ramirose@gmail.com>
 ...
> Acked-by: Stephen Hemminger <shemminger@vyatta.com>

Applied, thanks.
--
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

Patch hide | download patch | download mbox

diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c
index 9814d67..288ad3a 100644
--- a/drivers/net/vxlan.c
+++ b/drivers/net/vxlan.c
@@ -117,7 +117,6 @@  struct vxlan_dev {
 	spinlock_t	  hash_lock;
 	unsigned int	  addrcnt;
 	unsigned int	  addrmax;
-	unsigned int	  addrexceeded;
 
 	struct hlist_head fdb_head[FDB_HASH_SIZE];
 };