smalloc: OOM fixups
[fio.git] / diskutil.c
index 0f7a64209b57747139e66705a8fd2f71ebbe4697..27ddb46b7fecdae75114874210ed2ae135d21bd6 100644 (file)
@@ -292,10 +292,8 @@ static struct disk_util *disk_util_add(struct thread_data *td, int majdev,
        dprint(FD_DISKUTIL, "add maj/min %d/%d: %s\n", majdev, mindev, path);
 
        du = smalloc(sizeof(*du));
-       if (!du) {
-               log_err("fio: smalloc() pool exhausted\n");
+       if (!du)
                return NULL;
-       }
 
        memset(du, 0, sizeof(*du));
        INIT_FLIST_HEAD(&du->list);