summaryrefslogtreecommitdiffstats
path: root/include/net/vxlan.h
diff options
context:
space:
mode:
authorJiri Benc <jbenc@redhat.com>2016-02-02 18:09:12 +0100
committerDavid S. Miller <davem@davemloft.net>2016-02-07 19:51:00 +0100
commit427bc465bf9fcdab749f6997ff7a4eecaef4ca40 (patch)
tree28019e64374f978ef29be0a7abed4acf20214389 /include/net/vxlan.h
parentvxlan: cleanup types (diff)
downloadlinux-427bc465bf9fcdab749f6997ff7a4eecaef4ca40.tar.xz
linux-427bc465bf9fcdab749f6997ff7a4eecaef4ca40.zip
vxlan: remove duplicated macros
VNI_HASH_BITS and VNI_HASH_SIZE are defined twice. Remove the extra definitions. Signed-off-by: Jiri Benc <jbenc@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/vxlan.h')
-rw-r--r--include/net/vxlan.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/net/vxlan.h b/include/net/vxlan.h
index 5c64250619c5..234bf1ef2737 100644
--- a/include/net/vxlan.h
+++ b/include/net/vxlan.h
@@ -9,9 +9,6 @@
#include <linux/udp.h>
#include <net/dst_metadata.h>
-#define VNI_HASH_BITS 10
-#define VNI_HASH_SIZE (1<<VNI_HASH_BITS)
-
/*
* VXLAN Group Based Policy Extension:
* +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+