From: Jesse Gross Date: Thu, 29 Sep 2011 22:18:14 +0000 (-0700) Subject: datapath: Remove unused vlan constants. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be07be4dcba9faa181b195cdda0d8ab3761e738d;p=openvswitch datapath: Remove unused vlan constants. We define some constants for dealing with vlan PCP bits since at the time they didn't exist upstream. They've since been merged upstream with different names and we don't use them anyways, so just drop them. Signed-off-by: Jesse Gross Acked-by: Ben Pfaff --- diff --git a/datapath/datapath.h b/datapath/datapath.h index ea200a3a..8a713913 100644 --- a/datapath/datapath.h +++ b/datapath/datapath.h @@ -27,13 +27,7 @@ struct vport; -/* Mask for the priority bits in a vlan header. If we ever merge upstream - * then this should go into include/linux/if_vlan.h. */ -#define VLAN_PCP_MASK 0xe000 -#define VLAN_PCP_SHIFT 13 - #define DP_MAX_PORTS 1024 - #define SAMPLE_ACTION_DEPTH 3 /**