s390/hypfs: no need to check return value of debugfs_create functions
[sfrench/cifs-2.6.git] / arch / s390 / hypfs / hypfs_diag.c
index 3452e18bb1ca8a241677cab4fd761f13758531dd..f0bc4dc3e9bf0c486500840a36bdb22def45a462 100644 (file)
@@ -440,11 +440,10 @@ __init int hypfs_diag_init(void)
                pr_err("The hardware system does not support hypfs\n");
                return -ENODATA;
        }
-       if (diag204_info_type == DIAG204_INFO_EXT) {
-               rc = hypfs_dbfs_create_file(&dbfs_file_d204);
-               if (rc)
-                       return rc;
-       }
+
+       if (diag204_info_type == DIAG204_INFO_EXT)
+               hypfs_dbfs_create_file(&dbfs_file_d204);
+
        if (MACHINE_IS_LPAR) {
                rc = diag224_get_name_table();
                if (rc) {