Skip to content

Commit

Permalink
crypto: talitos - sg_to_link_tbl() not used anymore, remove it
Browse files Browse the repository at this point in the history
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
  • Loading branch information
LEROY Christophe authored and Herbert Xu committed Jun 8, 2016
1 parent 549bd8b commit e968b49
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions drivers/crypto/talitos.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit e968b49

Please sign in to comment.