]> 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)
committerSage Weil <sage@inktank.com>
Fri, 26 Apr 2013 20:40:05 +0000 (13:40 -0700)
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
(cherry picked from commit 97b4f8d66bef2328fa53f9e508eb38f8b8d49632)

src/ceph-disk

index 9081ca93b47e1df60b2a0704af3eade4dc30215a..1a7f4f73cd78978a040038c595465bc6f220f7d4 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