diff options
Diffstat (limited to 'crypto/scatterwalk.h')
-rw-r--r-- | crypto/scatterwalk.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/crypto/scatterwalk.h b/crypto/scatterwalk.h index 87ed681cceba..fd5517d2a7a9 100644 --- a/crypto/scatterwalk.h +++ b/crypto/scatterwalk.h | |||
@@ -20,11 +20,6 @@ | |||
20 | 20 | ||
21 | #include "internal.h" | 21 | #include "internal.h" |
22 | 22 | ||
23 | static inline struct scatterlist *scatterwalk_sg_next(struct scatterlist *sg) | ||
24 | { | ||
25 | return (++sg)->length ? sg : (void *) sg_page(sg); | ||
26 | } | ||
27 | |||
28 | static inline unsigned long scatterwalk_samebuf(struct scatter_walk *walk_in, | 23 | static inline unsigned long scatterwalk_samebuf(struct scatter_walk *walk_in, |
29 | struct scatter_walk *walk_out) | 24 | struct scatter_walk *walk_out) |
30 | { | 25 | { |