Commit 3b5b7b1f authored by Colin Ian King's avatar Colin Ian King Committed by Jens Axboe

bcache: remove redundant variables i and n

Variables i and n are being assigned but are never used. They are
redundant and can be removed.
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarColy Li <colyli@suse.de>
Addresses-Coverity: ("Unused value")
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent d92f79a5
......@@ -1907,10 +1907,8 @@ static int bch_btree_check_thread(void *arg)
struct btree_iter iter;
struct bkey *k, *p;
int cur_idx, prev_idx, skip_nr;
int i, n;
k = p = NULL;
i = n = 0;
cur_idx = prev_idx = 0;
ret = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment