* *first_ni so the acceptor can pass it connections "blind" to retain
* binary compatibility. */
int count = 0;
+#if defined(__KERNEL__) || defined(HAVE_LIBPTHREAD)
struct list_head *tmp;
lnet_ni_t *ni;
}
LNET_UNLOCK();
+
+#endif /* defined(__KERNEL__) || defined(HAVE_LIBPTHREAD) */
return count;
}