[PATCH] Woops, left debug clear in there
authorJens Axboe <jens.axboe@oracle.com>
Tue, 13 Feb 2007 16:42:35 +0000 (17:42 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 13 Feb 2007 16:42:35 +0000 (17:42 +0100)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
io_u.c

diff --git a/io_u.c b/io_u.c
index ae92df5d1a4d2559fe5d6c47be5d017529181f8f..c56ccc6c614b32737d829aa7b170513affce6bce 100644 (file)
--- a/io_u.c
+++ b/io_u.c
@@ -44,7 +44,6 @@ static void mark_random_map(struct thread_data *td, struct fio_file *f,
                idx = RAND_MAP_IDX(td, f, block);
                bit = RAND_MAP_BIT(td, f, block);
 
-               idx = f->num_maps;
                fio_assert(td, idx < f->num_maps);
 
                f->file_map[idx] |= (1UL << bit);