-static struct lprocfs_vars lprocfs_lwp_module_vars[] = {
- { "num_refs", lprocfs_rd_numrefs, 0, 0 },
- { 0 }
-};
-
-static struct lprocfs_vars lprocfs_lwp_obd_vars[] = {
- { 0 }
-};
-
-void lprocfs_lwp_init_vars(struct lprocfs_static_vars *lvars)
-{
- lvars->module_vars = lprocfs_lwp_module_vars;
- lvars->obd_vars = lprocfs_lwp_obd_vars;
-}
-
-int lwp_init0(const struct lu_env *env, struct lwp_device *lwp,
- struct lu_device_type *ldt, struct lustre_cfg *cfg)
+/**
+ * Initialize LWP device.
+ *
+ * \param[in] env environment passed by caller
+ * \param[in] lwp device to be initialized
+ * \param[in] ldt not used
+ * \param[in] cfg lustre_cfg contains remote target uuid
+ *
+ * \retval 0 on success
+ * \retval -ENODEV if the device name cannot be found
+ * \retval negative numbers on other errors
+ */
+static int lwp_init0(const struct lu_env *env, struct lwp_device *lwp,
+ struct lu_device_type *ldt, struct lustre_cfg *cfg)