Style cleanup
[fio.git] / filesetup.c
index a51abc3cb48f9865a336a67cb24106716310aba1..5584a3665475e87bc02074b8328f887db8787d2c 100644 (file)
@@ -311,11 +311,11 @@ int file_invalidate_cache(struct thread_data *td, struct fio_file *f)
         */
        if (f->mmap)
                ret = madvise(f->mmap, f->file_size, MADV_DONTNEED);
-       else if (f->filetype == FIO_TYPE_FILE) {
+       else if (f->filetype == FIO_TYPE_FILE)
                ret = fadvise(f->fd, f->file_offset, f->file_size, POSIX_FADV_DONTNEED);
-       } else if (f->filetype == FIO_TYPE_BD) {
+       else if (f->filetype == FIO_TYPE_BD)
                ret = blockdev_invalidate_cache(f->fd);
-       else if (f->filetype == FIO_TYPE_CHAR)
+       else if (f->filetype == FIO_TYPE_CHAR)
                ret = 0;
 
        if (ret < 0) {