datapath-protocol: Dropped unused __aligned_* types.
authorJesse Gross <jesse@nicira.com>
Mon, 31 Jan 2011 23:15:05 +0000 (15:15 -0800)
committerJesse Gross <jesse@nicira.com>
Fri, 4 Feb 2011 19:27:16 +0000 (11:27 -0800)
These types are no longer used, are redundantly defined, and were
cluttering our interface header.

Signed-off-by: Jesse Gross <jesse@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
include/linux/automake.mk
include/linux/types.h [deleted file]
include/openvswitch/datapath-protocol.h

index 56103a7957b0dc80f645383b0711fbc9dbdd9835..a0a963d09589565132ae41c1c3ab72815ddd4474 100644 (file)
@@ -1,3 +1,2 @@
 noinst_HEADERS += \
-       include/linux/if_link.h \
-       include/linux/types.h
+       include/linux/if_link.h
diff --git a/include/linux/types.h b/include/linux/types.h
deleted file mode 100644 (file)
index 8b9227e..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-#ifndef __LINUX_TYPES_USER_WRAPPER_H
-#define __LINUX_TYPES_USER_WRAPPER_H 1
-
-#include_next <linux/types.h>
-
-/* These were only introduced in v2.6.36. */
-#ifndef __aligned_u64
-#define __aligned_u64 __u64 __attribute__((aligned(8)))
-#define __aligned_be64 __be64 __attribute__((aligned(8)))
-#define __aligned_le64 __le64 __attribute__((aligned(8)))
-#endif
-
-#endif
index eafc80032b59717d14468a0b3a747147ab49cedf..dbf1f5e630aeda92b8e0e5ff5b88d5c4892240f1 100644 (file)
 #include <sys/socket.h>
 #endif
 
-#ifndef __aligned_u64
-#define __aligned_u64 __u64 __attribute__((aligned(8)))
-#define __aligned_be64 __be64 __attribute__((aligned(8)))
-#define __aligned_le64 __le64 __attribute__((aligned(8)))
-#endif
-
 #include <linux/if_link.h>
 #include <linux/netlink.h>
 \f