summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>2013-03-20 13:30:21 +0100
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>2013-03-20 13:30:21 +0100
commit97b4f8d66bef2328fa53f9e508eb38f8b8d49632 (patch)
treeb5f28e1eb105debd690dd766ece35b27dbd53651
parent9daf6cfce2d57509d896eae28bb97146a682a306 (diff)
downloadceph-97b4f8d66bef2328fa53f9e508eb38f8b8d49632.tar.gz
ceph-disk: remove unused variable key from prepare_journal_dev()
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
-rwxr-xr-xsrc/ceph-disk1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ceph-disk b/src/ceph-disk
index 598693837a4..f4137007550 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