1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00

blkdeactivate: drop unused var

This commit is contained in:
Zdenek Kabelac 2017-06-28 19:36:49 +02:00
parent 45861557b5
commit ce1383fe46

View File

@ -221,7 +221,7 @@ deactivate_dm () {
} }
deactivate_lvm () { 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")" eval "$(eval "$DMSETUP" splitname --nameprefixes --noheadings --rows "$name" LVM "$ERR")"
test -b "$DEV_DIR/$DM_VG_NAME/$DM_LV_NAME" || return 0 test -b "$DEV_DIR/$DM_VG_NAME/$DM_LV_NAME" || return 0