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)
commit4b22f0ddb6564210c9ded7ba25b2a1007733e784
treec5e98f3eb875ca30ffcee65ff4ac6968a8b54db9
parent81bef0150074d677d8cbd4e971a8ce6c9746a1fc
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