crypto: talitos - sg_to_link_tbl() not used anymore, remove it
authorLEROY Christophe <christophe.leroy@c-s.fr>
Mon, 6 Jun 2016 11:20:42 +0000 (13:20 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 8 Jun 2016 08:20:03 +0000 (16:20 +0800)
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/talitos.c

index 4ff03c3f62cd392d51490956168382ec3cb0bd41..ff8cf39dfc631eb7450a8006f55ddaecc493d90b 100644 (file)
@@ -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,