net: rds: remove duplication type definitions
authorChangli Gao <xiaosuo@gmail.com>
Sun, 22 Aug 2010 16:41:59 +0000 (16:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 Aug 2010 04:09:04 +0000 (21:09 -0700)
__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>
include/linux/rds.h

index 24bce3ded9eade070774b40a517446b62df7fce9..7f3971d9fc5cf32ab63ad665201c9fee1d692fdf 100644 (file)
 
 #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
 
 /*