From: Rami Rosen Date: Sat, 17 Nov 2012 04:08:07 +0000 (+0000) Subject: vxlan: remove unused variable. X-Git-Tag: firefly_0821_release~3680^2~1480^2~301 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e8e55d9514f2eb2ffbb79b07636fb7b3c944b1a1;p=firefly-linux-kernel-4.4.55.git vxlan: remove unused variable. This patch removes addrexceeded member from vxlan_dev struct as it is unused. Signed-off-by: Rami Rosen Acked-by: Stephen Hemminger Signed-off-by: David S. Miller --- 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]; };