mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
[BLOCK] Don't clear sg_dma_len/addr() in blk_rq_map_sg()
It's not a proper lvalue on all archs. Signed-off-by: Jens Axboe <[email protected]>
This commit is contained in:
parent
73fc4f0d2c
commit
ad0d4083e6
1 changed files with 0 additions and 2 deletions
|
|
@ -1354,8 +1354,6 @@ new_segment:
|
|||
else
|
||||
sg = sg_next(sg);
|
||||
|
||||
sg_dma_len(sg) = 0;
|
||||
sg_dma_address(sg) = 0;
|
||||
sg_set_page(sg, bvec->bv_page);
|
||||
sg->length = nbytes;
|
||||
sg->offset = bvec->bv_offset;
|
||||
|
|
|
|||
Loading…
Reference in a new issue