]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-disk: remove unused variable key from prepare_journal_dev()
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Wed, 20 Mar 2013 12:30:21 +0000 (13:30 +0100)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Wed, 20 Mar 2013 12:30:21 +0000 (13:30 +0100)
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
src/ceph-disk

index 598693837a4050d48d885b3b9c2c3ba7d8f69d41..f4137007550cbade681a9cd2bbc0e25a6012c092 100755 (executable)
@@ -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