Browse Source

libceph: remove the unused macro AES_KEY_SIZE

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>
Nicholas Krause 10 years ago
parent
commit
b79b23682a
1 changed files with 0 additions and 4 deletions
  1. 0 4
      net/ceph/crypto.c

+ 0 - 4
net/ceph/crypto.c

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