Whamcloud - gitweb
LU-5275 obdclass: Remove lprocfs_vars argument from class_register_type function
[fs/lustre-release.git] / lustre / obdecho / echo_client.c
index baccb17..b772829 100644 (file)
@@ -3013,9 +3013,6 @@ int echo_client_init(void)
        rc = lu_kmem_init(echo_caches);
        if (rc == 0) {
                rc = class_register_type(&echo_client_obd_ops, NULL, true, NULL,
-#ifndef HAVE_ONLY_PROCFS_SEQ
-                                        NULL,
-#endif
                                         LUSTRE_ECHO_CLIENT_NAME,
                                         &echo_device_type);
                if (rc)
@@ -3045,10 +3042,7 @@ static int __init obdecho_init(void)
                 goto failed_0;
 
        rc = class_register_type(&echo_obd_ops, NULL, true, NULL,
-#ifndef HAVE_ONLY_PROCFS_SEQ
-                               NULL,
-#endif
-                               LUSTRE_ECHO_NAME, NULL);
+                                LUSTRE_ECHO_NAME, NULL);
        if (rc != 0)
                goto failed_1;
 # endif