engines/windowsaio: style
authorJens Axboe <axboe@kernel.dk>
Wed, 11 Oct 2017 14:25:10 +0000 (08:25 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 11 Oct 2017 14:25:10 +0000 (08:25 -0600)
Don't use braces for a single line block.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
engines/windowsaio.c

index 2b12ddd..a66b1df 100644 (file)
@@ -240,9 +240,8 @@ static int fio_windowsaio_open_file(struct thread_data *td, struct fio_file *f)
 
        /* If we're going to use direct I/O, Windows will try and invalidate
         * its cache at that point so there's no need to do it here */
-       if (td->o.invalidate_cache && !td->o.odirect) {
+       if (td->o.invalidate_cache && !td->o.odirect)
                windowsaio_invalidate_cache(f);
-       }
 
        f->hFile = CreateFile(f->file_name, access, sharemode,
                NULL, openmode, flags, NULL);