Skip to content

Commit 3b5b7b1

Browse files
Colin Ian Kingaxboe
authored andcommitted
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: Colin Ian King <[email protected]> Signed-off-by: Coly Li <[email protected]> Addresses-Coverity: ("Unused value") Signed-off-by: Jens Axboe <[email protected]>
1 parent d92f79a commit 3b5b7b1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/md/bcache/btree.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1907,10 +1907,8 @@ static int bch_btree_check_thread(void *arg)
19071907
struct btree_iter iter;
19081908
struct bkey *k, *p;
19091909
int cur_idx, prev_idx, skip_nr;
1910-
int i, n;
19111910

19121911
k = p = NULL;
1913-
i = n = 0;
19141912
cur_idx = prev_idx = 0;
19151913
ret = 0;
19161914

0 commit comments

Comments
 (0)