mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
nvmet: avoid unneeded assignment of submit_bio return value
We actually using the cookie returned from the last submit_bio call. Signed-off-by: Max Gurtovoy <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Sagi Grimberg <[email protected]>
This commit is contained in:
parent
b27c1e683d
commit
c2f30f08c1
1 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,7 @@ static void nvmet_execute_rw(struct nvmet_req *req)
|
|||
bio_set_op_attrs(bio, op, op_flags);
|
||||
|
||||
bio_chain(bio, prev);
|
||||
cookie = submit_bio(prev);
|
||||
submit_bio(prev);
|
||||
}
|
||||
|
||||
sector += sg->length >> 9;
|
||||
|
|
|
|||
Loading…
Reference in a new issue