OSDN Git Service

libceph: remove the unused macro AES_KEY_SIZE
authorNicholas Krause <xerofoify@gmail.com>
Sun, 5 Jul 2015 06:34:05 +0000 (06:34 +0000)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 8 Sep 2015 20:14:28 +0000 (23:14 +0300)
This removes the no longer used macro AES_KEY_SIZE as no functions use
this macro anymore and thus this macro can be removed due it no longer
being required.

Signed-off-by: Nicholas Krause <xerofoify@gmail.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
net/ceph/crypto.c

index 790fe89..4440edc 100644 (file)
@@ -79,10 +79,6 @@ int ceph_crypto_key_unarmor(struct ceph_crypto_key *key, const char *inkey)
        return 0;
 }
 
-
-
-#define AES_KEY_SIZE 16
-
 static struct crypto_blkcipher *ceph_crypto_alloc_cipher(void)
 {
        return crypto_alloc_blkcipher("cbc(aes)", 0, CRYPTO_ALG_ASYNC);