diff options
author | 2020-05-27 12:01:51 +0800 | |
---|---|---|
committer | 2020-05-27 05:19:36 -0600 | |
commit | 3b5b7b1f70e79fb060d485412b3c748f0a83111b (patch) | |
tree | f715949127c0a07d9ec053467be261c95d58360f /drivers/md | |
parent | Merge branch 'nvme-5.8' of git://git.infradead.org/nvme into for-5.8/drivers (diff) | |
download | linux-3b5b7b1f70e79fb060d485412b3c748f0a83111b.tar.gz linux-3b5b7b1f70e79fb060d485412b3c748f0a83111b.tar.bz2 linux-3b5b7b1f70e79fb060d485412b3c748f0a83111b.zip |
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 <colin.king@canonical.com>
Signed-off-by: Coly Li <colyli@suse.de>
Addresses-Coverity: ("Unused value")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/md')
-rw-r--r-- | drivers/md/bcache/btree.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/md/bcache/btree.c b/drivers/md/bcache/btree.c index 72856e5f23a3..114d0d73d909 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; |