diff mbox

[rdma-core,07/10] rdmacm: Remove dangling cpu_to_be64 definitions

Message ID 1486677212-3188-8-git-send-email-jgunthorpe@obsidianresearch.com (mailing list archive)
State Accepted
Headers show

Commit Message

Jason Gunthorpe Feb. 9, 2017, 9:53 p.m. UTC
No users.

Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
---
 librdmacm/examples/common.h | 3 ---
 1 file changed, 3 deletions(-)
diff mbox

Patch

diff --git a/librdmacm/examples/common.h b/librdmacm/examples/common.h
index 28b977a075e6f1..1e69f5091ad078 100644
--- a/librdmacm/examples/common.h
+++ b/librdmacm/examples/common.h
@@ -41,9 +41,6 @@ 
 #include <rdma/rsocket.h>
 #include <infiniband/ib.h>
 
-static inline uint64_t cpu_to_be64(uint64_t x) { return htobe64(x); }
-static inline uint32_t cpu_to_be32(uint32_t x) { return htobe32(x); }
-
 extern int use_rs;
 
 #define rs_socket(f,t,p)  use_rs ? rsocket(f,t,p)  : socket(f,t,p)