From: Herbert Xu Date: Sat, 30 Dec 2006 23:42:06 +0000 (+1100) Subject: [CRYPTO] api: Proc functions should be marked as unused X-Git-Tag: v2.6.22-rc1~1040^2~9 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=03f5d8cedb31deb558cd97095730cbc8bc54b12a;p=linux-2.6-omap-h63xx.git [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 --- diff --git a/crypto/blkcipher.c b/crypto/blkcipher.c index b5befe8c3a9..bf459179efe 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 12c4514f347..4ccd22deef3 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");