From dd2525b87e716ebf06995961321869f521cab1ef Mon Sep 17 00:00:00 2001 From: Jesse Gross Date: Mon, 31 Jan 2011 15:15:05 -0800 Subject: [PATCH] datapath-protocol: Dropped unused __aligned_* types. These types are no longer used, are redundantly defined, and were cluttering our interface header. Signed-off-by: Jesse Gross Acked-by: Ben Pfaff --- include/linux/automake.mk | 3 +-- include/linux/types.h | 13 ------------- include/openvswitch/datapath-protocol.h | 6 ------ 3 files changed, 1 insertion(+), 21 deletions(-) delete mode 100644 include/linux/types.h diff --git a/include/linux/automake.mk b/include/linux/automake.mk index 56103a79..a0a963d0 100644 --- a/include/linux/automake.mk +++ b/include/linux/automake.mk @@ -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 index 8b9227e7..00000000 --- a/include/linux/types.h +++ /dev/null @@ -1,13 +0,0 @@ -#ifndef __LINUX_TYPES_USER_WRAPPER_H -#define __LINUX_TYPES_USER_WRAPPER_H 1 - -#include_next - -/* 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 diff --git a/include/openvswitch/datapath-protocol.h b/include/openvswitch/datapath-protocol.h index eafc8003..dbf1f5e6 100644 --- a/include/openvswitch/datapath-protocol.h +++ b/include/openvswitch/datapath-protocol.h @@ -61,12 +61,6 @@ #include #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 #include -- 2.30.2