Merge pull request #134 from Donaim/fix-scanbuild

Fix immediate reassign
This commit is contained in:
Michał Wysoczański 2019-04-19 15:30:58 +02:00 committed by GitHub
commit 4f2efb0ae7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -189,8 +189,6 @@ static int ocf_restart_meta_io(struct ocf_request *req)
struct ocf_io *io; struct ocf_io *io;
int ret; int ret;
cache = req->cache;
/* Fill with the latest metadata. */ /* Fill with the latest metadata. */
OCF_METADATA_LOCK_RD(); OCF_METADATA_LOCK_RD();
metadata_io_req_fill(meta_io_req); metadata_io_req_fill(meta_io_req);