[ovs-dev] [tests+nxm-ofctl 20/42] openflow: Remove vestigial support for including from kernel.

Ben Pfaff blp at nicira.com
Tue Nov 23 22:43:52 UTC 2010


This header hasn't been included into the kernel code in ages.
---
 include/openflow/openflow.h |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/include/openflow/openflow.h b/include/openflow/openflow.h
index 3db5d35..5f1dd60 100644
--- a/include/openflow/openflow.h
+++ b/include/openflow/openflow.h
@@ -19,11 +19,7 @@
 #ifndef OPENFLOW_OPENFLOW_H
 #define OPENFLOW_OPENFLOW_H 1
 
-#ifdef __KERNEL__
-#include <linux/types.h>
-#else
 #include <stdint.h>
-#endif
 
 #ifdef SWIG
 #define OFP_ASSERT(EXPR)        /* SWIG can't handle OFP_ASSERT. */
-- 
1.7.1





More information about the dev mailing list