Skip to content

Commit

Permalink
libceph: remove the unused macro AES_KEY_SIZE
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Nicholas Krause authored and Ilya Dryomov committed Sep 8, 2015
1 parent a341d4d commit b79b236
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions net/ceph/crypto.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b79b236

Please sign in to comment.