summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChangli Gao <xiaosuo@gmail.com>2010-08-22 16:41:59 +0000
committerDavid S. Miller <davem@davemloft.net>2010-08-22 21:09:04 -0700
commitfcb12fd2236f49aa8fdc1568ed4ebdfe4fddc6b5 (patch)
treee4d20f6190bd00156add89f0b0c42c2a8c30bfc1
parentcd709aa90648195e5b5823fa90eb0b3fb0e78ee4 (diff)
downloadop-kernel-dev-fcb12fd2236f49aa8fdc1568ed4ebdfe4fddc6b5.zip
op-kernel-dev-fcb12fd2236f49aa8fdc1568ed4ebdfe4fddc6b5.tar.gz
net: rds: remove duplication type definitions
__be* are defined in linux/types.h now, and in fact, rds.h isn't exported to user space even. Signed-off-by: Changli Gao <xiaosuo@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--include/linux/rds.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/rds.h b/include/linux/rds.h
index 24bce3d..7f3971d 100644
--- a/include/linux/rds.h
+++ b/include/linux/rds.h
@@ -36,15 +36,6 @@
#include <linux/types.h>
-/* These sparse annotated types shouldn't be in any user
- * visible header file. We should clean this up rather
- * than kludging around them. */
-#ifndef __KERNEL__
-#define __be16 u_int16_t
-#define __be32 u_int32_t
-#define __be64 u_int64_t
-#endif
-
#define RDS_IB_ABI_VERSION 0x301
/*
OpenPOWER on IntegriCloud