Commit 11708ff
vhost/vsock: cleanup removing
We can increment `total_len` directly and remove `len` since it
is no longer used for vhost_add_used().
Signed-off-by: Stefano Garzarella <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Michael S. Tsirkin <[email protected]>
Reviewed-by: Stefan Hajnoczi <[email protected]>len variable1 parent 49d8c5f commit 11708ff
1 file changed
+1
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
511 | 511 | | |
512 | 512 | | |
513 | 513 | | |
514 | | - | |
515 | | - | |
516 | 514 | | |
517 | 515 | | |
518 | 516 | | |
| |||
540 | 538 | | |
541 | 539 | | |
542 | 540 | | |
543 | | - | |
| 541 | + | |
544 | 542 | | |
545 | 543 | | |
546 | 544 | | |
| |||
553 | 551 | | |
554 | 552 | | |
555 | 553 | | |
556 | | - | |
557 | 554 | | |
558 | | - | |
559 | 555 | | |
560 | 556 | | |
561 | 557 | | |
| |||
0 commit comments