1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-11-11 12:23:50 +03:00

cov: remove unused assigns

This commit is contained in:
Zdenek Kabelac
2018-11-03 16:48:20 +01:00
parent a91ac41b93
commit 70e3d0a613
6 changed files with 7 additions and 14 deletions

View File

@@ -67,7 +67,6 @@ static DM_LIST_INIT(_vginfos);
static DM_LIST_INIT(_found_duplicate_devs);
static DM_LIST_INIT(_unused_duplicate_devs);
static int _scanning_in_progress = 0;
static int _has_scanned = 0;
static int _vgs_locked = 0;
static int _found_duplicate_pvs = 0; /* If we never see a duplicate PV we can skip checking for them later. */
@@ -1808,8 +1807,6 @@ void lvmcache_destroy(struct cmd_context *cmd, int retain_orphans, int reset)
{
log_debug_cache("Dropping VG info");
_has_scanned = 0;
if (_vgid_hash) {
dm_hash_destroy(_vgid_hash);
_vgid_hash = NULL;