diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2006-12-30 18:42:06 -0500 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2007-05-02 00:38:29 -0400 |
commit | 03f5d8cedb31deb558cd97095730cbc8bc54b12a (patch) | |
tree | 776d1cc603f3b6ef2506573743ae2d30054f83f1 | |
parent | dc87c3985e9b442c60994308a96f887579addc39 (diff) |
[CRYPTO] api: Proc functions should be marked as unused
The proc functions were incorrectly marked as used rather than unused.
They may be unused if proc is disabled.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r-- | crypto/blkcipher.c | 2 | ||||
-rw-r--r-- | crypto/hash.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/crypto/blkcipher.c b/crypto/blkcipher.c index b5befe8c3a96..bf459179efe3 100644 --- a/crypto/blkcipher.c +++ b/crypto/blkcipher.c | |||
@@ -386,7 +386,7 @@ static int crypto_init_blkcipher_ops(struct crypto_tfm *tfm, u32 type, u32 mask) | |||
386 | } | 386 | } |
387 | 387 | ||
388 | static void crypto_blkcipher_show(struct seq_file *m, struct crypto_alg *alg) | 388 | static void crypto_blkcipher_show(struct seq_file *m, struct crypto_alg *alg) |
389 | __attribute_used__; | 389 | __attribute__ ((unused)); |
390 | static void crypto_blkcipher_show(struct seq_file *m, struct crypto_alg *alg) | 390 | static void crypto_blkcipher_show(struct seq_file *m, struct crypto_alg *alg) |
391 | { | 391 | { |
392 | seq_printf(m, "type : blkcipher\n"); | 392 | seq_printf(m, "type : blkcipher\n"); |
diff --git a/crypto/hash.c b/crypto/hash.c index 12c4514f3478..4ccd22deef39 100644 --- a/crypto/hash.c +++ b/crypto/hash.c | |||
@@ -41,7 +41,7 @@ static int crypto_init_hash_ops(struct crypto_tfm *tfm, u32 type, u32 mask) | |||
41 | } | 41 | } |
42 | 42 | ||
43 | static void crypto_hash_show(struct seq_file *m, struct crypto_alg *alg) | 43 | static void crypto_hash_show(struct seq_file *m, struct crypto_alg *alg) |
44 | __attribute_used__; | 44 | __attribute__ ((unused)); |
45 | static void crypto_hash_show(struct seq_file *m, struct crypto_alg *alg) | 45 | static void crypto_hash_show(struct seq_file *m, struct crypto_alg *alg) |
46 | { | 46 | { |
47 | seq_printf(m, "type : hash\n"); | 47 | seq_printf(m, "type : hash\n"); |