aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRami Rosen <ramirose@gmail.com>2012-11-17 04:08:07 +0000
committerDavid S. Miller <davem@davemloft.net>2012-11-17 22:02:19 -0500
commite8e55d9514f2eb2ffbb79b07636fb7b3c944b1a1 (patch)
tree701ae97b2c261e2ce981bb0641a282969530d0c1
parentsctp: use bitmap_weight (diff)
downloadlinux-dev-e8e55d9514f2eb2ffbb79b07636fb7b3c944b1a1.tar.xz
linux-dev-e8e55d9514f2eb2ffbb79b07636fb7b3c944b1a1.zip
vxlan: remove unused variable.
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> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/vxlan.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c
index 6898a7932cff..a14df1ce99ff 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];
};