Whamcloud - gitweb
LU-6142 lustre: remove module_vars arg to class_register_type()
[fs/lustre-release.git] / lustre / osp / osp_dev.c
index c5b5401..0690c30 100644 (file)
@@ -1901,14 +1901,14 @@ static int __init osp_init(void)
        if (rc)
                return rc;
 
-       rc = class_register_type(&osp_obd_device_ops, NULL, false, NULL,
+       rc = class_register_type(&osp_obd_device_ops, NULL, false,
                                 LUSTRE_OSP_NAME, &osp_device_type);
        if (rc != 0) {
                lu_kmem_fini(osp_caches);
                return rc;
        }
 
-       rc = class_register_type(&lwp_obd_device_ops, NULL, false, NULL,
+       rc = class_register_type(&lwp_obd_device_ops, NULL, false,
                                 LUSTRE_LWP_NAME, &lwp_device_type);
        if (rc != 0) {
                class_unregister_type(LUSTRE_OSP_NAME);