]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: tcrpyt - Remove unnecessary kmap/kunmap calls
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 3 Jul 2008 06:57:30 +0000 (14:57 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 10 Jul 2008 12:35:16 +0000 (20:35 +0800)
commit3e78ad3d80a55708aa8fdae0072d6201db46c00c
treec5e98f3eb875ca30ffcee65ff4ac6968a8b54db9
parent0842d53e0d69da6a4fd8f7b8ffada4fcaeba8daf
crypto: tcrpyt - Remove unnecessary kmap/kunmap calls

Noticed by Neil Horman: we are doing unnecessary kmap/kunmap calls
on kmalloced memory.  This patch removes them.  For the purposes of
testing SG construction, the underlying crypto code already does plenty
of kmap/kunmap calls anyway.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/tcrypt.c