Whamcloud - gitweb
LU-3963 libcfs: cleanup list operations
[fs/lustre-release.git] / lustre / ptlrpc / ptlrpc_internal.h
index d758453..f3cb1d5 100644 (file)
@@ -103,18 +103,11 @@ struct nrs_core {
         * registration/unregistration, and NRS core lprocfs operations.
         */
        struct mutex nrs_mutex;
-       /* XXX: This is just for liblustre. Remove the #if defined directive
-        * when the * "cfs_" prefix is dropped from cfs_list_head. */
-#if defined (__linux__) && defined(__KERNEL__)
        /**
         * List of all policy descriptors registered with NRS core; protected
         * by nrs_core::nrs_mutex.
         */
        struct list_head nrs_policies;
-#else
-       struct cfs_list_head nrs_policies;
-#endif
-
 };
 
 int ptlrpc_service_nrs_setup(struct ptlrpc_service *svc);