summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>2013-03-20 13:30:21 +0100
committerSage Weil <sage@inktank.com>2013-04-26 13:40:05 -0700
commitffe024b8b5024cdac256bacb9df433b69385cc0a (patch)
tree77cdd1f691dc1e29261d35bce2378301afcda372
parent9464284f3ac9737345c595847e165db48adc0a70 (diff)
downloadceph-ffe024b8b5024cdac256bacb9df433b69385cc0a.tar.gz
ceph-disk: remove unused variable key from prepare_journal_dev()
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de> (cherry picked from commit 97b4f8d66bef2328fa53f9e508eb38f8b8d49632)
-rwxr-xr-xsrc/ceph-disk1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ceph-disk b/src/ceph-disk
index 9081ca93b47..1a7f4f73cd7 100755
--- a/src/ceph-disk
+++ b/src/ceph-disk
@@ -616,7 +616,6 @@ def prepare_journal_dev(
log.warning('OSD will not be hot-swappable if journal is not the same device as the osd data')
return (journal, None, None)
- key = None
ptype = JOURNAL_UUID
if journal_dm_keypath:
ptype = DMCRYPT_JOURNAL_UUID