Skip to contentSkip to conversation

master - blkdeactivate: drop unused var

PATCH Zdenek Kabelac 1 participant 1 message Jun 29, 2017

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=ce1383fe46d2b830a89acaa9fe00fb1239be4969
Commit:        ce1383fe46d2b830a89acaa9fe00fb1239be4969
Parent:        45861557b5b531f828f4d6ed3d0b104144d2d5f8
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Wed Jun 28 19:36:49 2017 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Thu Jun 29 22:23:16 2017 +0200

blkdeactivate: drop unused var

---
 scripts/blkdeactivate.sh.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
scripts/blkdeactivate.sh.in +1 -1
index a497414..69f02b0 100644
@@ -221,7 +221,7 @@ deactivate_dm () {
 }
 
 deactivate_lvm () {
-	local DM_VG_NAME; local DM_LV_NAME; local DM_LV_LAYER
+	local DM_VG_NAME; local DM_LV_NAME
 
 	eval "$(eval "$DMSETUP" splitname --nameprefixes --noheadings --rows "$name" LVM "$ERR")"
 	test -b "$DEV_DIR/$DM_VG_NAME/$DM_LV_NAME" || return 0