stat: remove dead 'nr_uninit' assignment
authorJens Axboe <axboe@kernel.dk>
Mon, 9 Apr 2018 14:10:40 +0000 (08:10 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 9 Apr 2018 14:10:40 +0000 (08:10 -0600)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
stat.c

diff --git a/stat.c b/stat.c
index a837ed90252eff2af69beb88e03f1c2c1ba6d72b..7b9dd3b1f1f1384e990ad02b4fe9a8bdfdc6769f 100644 (file)
--- a/stat.c
+++ b/stat.c
@@ -670,7 +670,6 @@ static int calc_block_percentiles(int nr_block_infos, uint32_t *block_infos,
        if (len > 1)
                qsort((void *)plist, len, sizeof(plist[0]), double_cmp);
 
        if (len > 1)
                qsort((void *)plist, len, sizeof(plist[0]), double_cmp);
 
-       nr_uninit = 0;
        /* Start only after the uninit entries end */
        for (nr_uninit = 0;
             nr_uninit < nr_block_infos
        /* Start only after the uninit entries end */
        for (nr_uninit = 0;
             nr_uninit < nr_block_infos