Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e968b49f authored by LEROY Christophe's avatar LEROY Christophe Committed by Herbert Xu
Browse files

crypto: talitos - sg_to_link_tbl() not used anymore, remove it

parent 549bd8bc
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -1111,14 +1111,6 @@ static int sg_to_link_tbl_offset(struct scatterlist *sg, int sg_count,
	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,