提交 622ff875 编写于 作者: W Wu Fengguang 提交者: Herbert Xu

crypto: echainiv - echainiv_read_iv() can be static

Signed-off-by: NFengguang Wu <fengguang.wu@intel.com>
Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
上级 2ea376a3
...@@ -67,7 +67,7 @@ static int echainiv_setauthsize(struct crypto_aead *tfm, ...@@ -67,7 +67,7 @@ static int echainiv_setauthsize(struct crypto_aead *tfm,
} }
/* We don't care if we get preempted and read/write IVs from the next CPU. */ /* We don't care if we get preempted and read/write IVs from the next CPU. */
void echainiv_read_iv(u8 *dst, unsigned size) static void echainiv_read_iv(u8 *dst, unsigned size)
{ {
u32 *a = (u32 *)dst; u32 *a = (u32 *)dst;
u32 __percpu *b = echainiv_iv; u32 __percpu *b = echainiv_iv;
...@@ -78,7 +78,7 @@ void echainiv_read_iv(u8 *dst, unsigned size) ...@@ -78,7 +78,7 @@ void echainiv_read_iv(u8 *dst, unsigned size)
} }
} }
void echainiv_write_iv(const u8 *src, unsigned size) static void echainiv_write_iv(const u8 *src, unsigned size)
{ {
const u32 *a = (const u32 *)src; const u32 *a = (const u32 *)src;
u32 __percpu *b = echainiv_iv; u32 __percpu *b = echainiv_iv;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册