summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2006-12-31 10:42:06 +1100
committerHerbert Xu <herbert@gondor.apana.org.au>2007-05-02 14:38:29 +1000
commit4bb52188251a2a200f2d9e399cdfc7d009bc8453 (patch)
tree6054e1a5718fcf248324da3c2377e84b11f06978 /crypto
parent5458fa2843cf245d97ddfbc5f972d5f416477d69 (diff)
downloadlinux-crypto-4bb52188251a2a200f2d9e399cdfc7d009bc8453.tar.gz
linux-crypto-4bb52188251a2a200f2d9e399cdfc7d009bc8453.zip
[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>
Diffstat (limited to 'crypto')
-rw-r--r--crypto/blkcipher.c2
-rw-r--r--crypto/hash.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/crypto/blkcipher.c b/crypto/blkcipher.c
index b5befe8c..bf459179 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)
}
static void crypto_blkcipher_show(struct seq_file *m, struct crypto_alg *alg)
- __attribute_used__;
+ __attribute__ ((unused));
static void crypto_blkcipher_show(struct seq_file *m, struct crypto_alg *alg)
{
seq_printf(m, "type : blkcipher\n");
diff --git a/crypto/hash.c b/crypto/hash.c
index 12c4514f..4ccd22de 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)
}
static void crypto_hash_show(struct seq_file *m, struct crypto_alg *alg)
- __attribute_used__;
+ __attribute__ ((unused));
static void crypto_hash_show(struct seq_file *m, struct crypto_alg *alg)
{
seq_printf(m, "type : hash\n");