Whamcloud - gitweb
- merge 2 weeks of b1_4 fixes onto HEAD
[fs/lustre-release.git] / lnet / include / lnet / internal.h
index 25778e4..eae00a0 100644 (file)
 
 extern int ptl_init;           /* Has the library been initialized */
 
-extern int ptl_ni_init(void);
-extern void ptl_ni_fini(void);
-
-static inline ptl_eq_t *
-ptl_handle2usereq (ptl_handle_eq_t *handle)
-{
-        /* EQ handles are a little wierd.  On the "user" side, the cookie
-         * is just a pointer to a queue of events in shared memory.  It's
-         * cb_eq_handle is the "real" handle which we pass when we
-         * call do_forward(). */
-        return (ptl_eq_t *)((unsigned long)handle->cookie);
-}
-
 #endif