From: LEROY Christophe Date: Mon, 6 Jun 2016 11:20:42 +0000 (+0200) Subject: crypto: talitos - sg_to_link_tbl() not used anymore, remove it X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e968b49f4d57a28d5e6ada6e92d4937ca0743793;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git crypto: talitos - sg_to_link_tbl() not used anymore, remove it Signed-off-by: Christophe Leroy Signed-off-by: Herbert Xu --- diff --git a/drivers/crypto/talitos.c b/drivers/crypto/talitos.c index 4ff03c3f62cd..ff8cf39dfc63 100644 --- a/drivers/crypto/talitos.c +++ b/drivers/crypto/talitos.c @@ -1111,14 +1111,6 @@ next: return count; } -static inline int sg_to_link_tbl(struct scatterlist *sg, int sg_count, - int cryptlen, - struct talitos_ptr *link_tbl_ptr) -{ - return sg_to_link_tbl_offset(sg, sg_count, 0, cryptlen, - link_tbl_ptr); -} - int talitos_sg_map(struct device *dev, struct scatterlist *src, unsigned int len, struct talitos_edesc *edesc, struct talitos_ptr *ptr,