Browse Source

[CRYPTO] geode: Make needlessly global geode_aes_crypt() static

On Tue, Nov 14, 2006 at 01:41:25AM -0800, Andrew Morton wrote:
>...
> Changes since 2.6.19-rc5-mm2:
>...
>  git-cryptodev.patch
>...
>  git trees
>...

This patch makes the needlessly global geode_aes_crypt() static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Adrian Bunk 18 năm trước cách đây
mục cha
commit
ab7827059a

+ 1 - 1
drivers/crypto/geode-aes.c

@@ -97,7 +97,7 @@ do_crypt(void *src, void *dst, int len, u32 flags)
 	return counter ? 0 : 1;
 	return counter ? 0 : 1;
 }
 }
 
 
-unsigned int
+static unsigned int
 geode_aes_crypt(struct geode_aes_op *op)
 geode_aes_crypt(struct geode_aes_op *op)
 {
 {
 
 

+ 0 - 2
drivers/crypto/geode-aes.h

@@ -37,6 +37,4 @@ struct geode_aes_op {
 	u8 iv[AES_IV_LENGTH];
 	u8 iv[AES_IV_LENGTH];
 };
 };
 
 
-unsigned int geode_aes_crypt(struct geode_aes_op *);
-
 #endif
 #endif