crypto: ixp4xx - Use sg_virt()
authorGeliang Tang <geliangtang@gmail.com>
Thu, 23 Mar 2017 13:16:30 +0000 (21:16 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 24 Mar 2017 14:03:01 +0000 (22:03 +0800)
commit796b40c6171456274b02447e1dbbea97456403fe
treeddf18291b2f34ca77723d4c1c257162220bdb8a7
parent44068d5999d372b0034382530899df77d83c70e5
crypto: ixp4xx - Use sg_virt()

Use sg_virt() instead of open-coding it.

Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ixp4xx_crypto.c