netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] net: rds: remove duplication type definitions
@ 2010-08-23  2:41 Changli Gao
  2010-08-23  4:14 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Changli Gao @ 2010-08-23  2:41 UTC (permalink / raw)
  To: David S. Miller; +Cc: linux-kernel, netdev, Changli Gao

__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>
---
 include/linux/rds.h |    9 ---------
 1 file changed, 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
 
 /*

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] net: rds: remove duplication type definitions
  2010-08-23  2:41 [PATCH] net: rds: remove duplication type definitions Changli Gao
@ 2010-08-23  4:14 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2010-08-23  4:14 UTC (permalink / raw)
  To: xiaosuo; +Cc: linux-kernel, netdev

From: Changli Gao <xiaosuo@gmail.com>
Date: Mon, 23 Aug 2010 10:41:59 +0800

> __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>

Applied to net-next-2.6

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-08-23  4:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-23  2:41 [PATCH] net: rds: remove duplication type definitions Changli Gao
2010-08-23  4:14 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).