summaryrefslogtreecommitdiffstats
path: root/src/vnet/mpls/mpls.h
diff options
context:
space:
mode:
authorNeale Ranns <neale@graphiant.com>2022-08-09 01:24:41 +0000
committerBeno�t Ganne <bganne@cisco.com>2022-08-11 06:55:11 +0000
commit41a85c0a263302d8a9e9cf758d6b259aaf957c49 (patch)
treefdab6107bf6f70c73e889b86c78d15c8026aeb52 /src/vnet/mpls/mpls.h
parente22a7041626cf1ebee7534d84068d48e8671a6ab (diff)
mpls: Use the .api for the definition of error/info counters
Type: improvement Signed-off-by: Neale Ranns <neale@graphiant.com> Change-Id: I9d25f5459ab70d9cf8556e44cfddfd7029e5b540
Diffstat (limited to 'src/vnet/mpls/mpls.h')
-rw-r--r--src/vnet/mpls/mpls.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/vnet/mpls/mpls.h b/src/vnet/mpls/mpls.h
index b4f90a13f3c..885901f89a4 100644
--- a/src/vnet/mpls/mpls.h
+++ b/src/vnet/mpls/mpls.h
@@ -23,14 +23,6 @@
#include <vnet/fib/fib_node.h>
#include <vnet/adj/adj.h>
-typedef enum
-{
-#define mpls_error(n,s) MPLS_ERROR_##n,
-#include <vnet/mpls/error.def>
-#undef mpls_error
- MPLS_N_ERROR,
-} mpls_error_t;
-
/**
* @brief Definition of a callback for receiving MPLS interface state change
* notifications