Whamcloud - gitweb
LU-3319 procfs: move mgs proc handling to seq_files
[fs/lustre-release.git] / lustre / mgs / mgs_handler.c
index 85b219c..a9b0857 100644 (file)
@@ -1513,12 +1513,9 @@ static struct obd_ops mgs_obd_device_ops = {
 
 static int __init mgs_init(void)
 {
-       struct lprocfs_static_vars lvars;
-
-       lprocfs_mgs_init_vars(&lvars);
        return class_register_type(&mgs_obd_device_ops, NULL, true, NULL,
 #ifndef HAVE_ONLY_PROCFS_SEQ
-                                  lvars.module_vars,
+                                  NULL,
 #endif
                                   LUSTRE_MGS_NAME, &mgs_device_type);
 }