Remove unused paramater.
authorMilan Broz <gmazyland@gmail.com>
Wed, 23 Mar 2011 11:43:11 +0000 (11:43 +0000)
committerMilan Broz <gmazyland@gmail.com>
Wed, 23 Mar 2011 11:43:11 +0000 (11:43 +0000)
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@483 36d66b0a-2a48-0410-832c-cd162a569da5

lib/loopaes/loopaes.c
lib/loopaes/loopaes.h
lib/setup.c

index 0f64400..846002c 100644 (file)
@@ -178,7 +178,6 @@ int LOOPAES_activate(struct crypt_device *cd,
                     const char *base_cipher,
                     unsigned int keys_count,
                     struct volume_key *vk,
-                    const char *hash,
                     uint64_t offset,
                     uint64_t skip,
                     uint32_t flags)
index 5f87423..3e61c4c 100644 (file)
@@ -17,7 +17,6 @@ int LOOPAES_activate(struct crypt_device *cd,
                     const char *base_cipher,
                     unsigned int keys_count,
                     struct volume_key *vk,
-                    const char *hash,
                     uint64_t offset,
                     uint64_t skip,
                     uint32_t flags);
index a66c65d..218e9ac 100644 (file)
@@ -2027,7 +2027,7 @@ int crypt_activate_by_keyfile(struct crypt_device *cd,
                        goto out;
                if (name)
                        r = LOOPAES_activate(cd, name, cd->loopaes_cipher,
-                                            key_count, vk, NULL,
+                                            key_count, vk,
                                             cd->loopaes_hdr.offset,
                                             cd->loopaes_hdr.skip,
                                             flags);