Whamcloud - gitweb
LU-6142 lustre: remove module_vars arg to class_register_type()
[fs/lustre-release.git] / lustre / mgs / mgs_handler.c
index b5ddf09..26af684 100644 (file)
@@ -1727,7 +1727,7 @@ static const struct obd_ops mgs_obd_device_ops = {
 
 static int __init mgs_init(void)
 {
-       return class_register_type(&mgs_obd_device_ops, NULL, true, NULL,
+       return class_register_type(&mgs_obd_device_ops, NULL, true,
                                   LUSTRE_MGS_NAME, &mgs_device_type);
 }