|
@@ -68,10 +68,6 @@ void scatterwalk_map_and_copy(void *buf, struct scatterlist *sg,
|
|
|
|
|
|
sg = scatterwalk_ffwd(tmp, sg, start);
|
|
|
|
|
|
- if (sg_page(sg) == virt_to_page(buf) &&
|
|
|
- sg->offset == offset_in_page(buf))
|
|
|
- return;
|
|
|
-
|
|
|
scatterwalk_start(&walk, sg);
|
|
|
scatterwalk_copychunks(buf, &walk, nbytes, out);
|
|
|
scatterwalk_done(&walk, out, 0);
|