summaryrefslogtreecommitdiffstats
path: root/crypto/scatterwalk.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/scatterwalk.c')
-rw-r--r--crypto/scatterwalk.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/crypto/scatterwalk.c b/crypto/scatterwalk.c
index 2ec5368..ddffbb3 100644
--- a/crypto/scatterwalk.c
+++ b/crypto/scatterwalk.c
@@ -33,9 +33,6 @@ static inline void memcpy_dir(void *buf, void *sgdata, size_t nbytes, int out)
void scatterwalk_start(struct scatter_walk *walk, struct scatterlist *sg)
{
walk->sg = sg;
-
- BUG_ON(!sg->length);
-
walk->offset = sg->offset;
}
EXPORT_SYMBOL_GPL(scatterwalk_start);
OpenPOWER on IntegriCloud