浏览代码

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 年之前
父节点
当前提交
b79b23682a
共有 1 个文件被更改,包括 0 次插入4 次删除
  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;
 }
 
-
-
-#define AES_KEY_SIZE 16
-
 static struct crypto_blkcipher *ceph_crypto_alloc_cipher(void)
 {
 	return crypto_alloc_blkcipher("cbc(aes)", 0, CRYPTO_ALG_ASYNC);