From: Colin Ian King Date: Wed, 27 May 2020 04:01:51 +0000 (+0800) Subject: bcache: remove redundant variables i and n X-Git-Tag: v5.8-rc1~191^2~4 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=3b5b7b1f70e79fb060d485412b3c748f0a83111b;p=users%2Fjedix%2Flinux-maple.git 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 Signed-off-by: Coly Li Addresses-Coverity: ("Unused value") Signed-off-by: Jens Axboe --- diff --git a/drivers/md/bcache/btree.c b/drivers/md/bcache/btree.c index 72856e5f23a39..114d0d73d9094 100644 --- a/drivers/md/bcache/btree.c +++ b/drivers/md/bcache/btree.c @@ -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;