Commit 11f7bb3
block/mq-deadline: Remove redundant hctx pointer dereferencing operation
The value of 'hctx->queue' is already stored in '*q' within
dd_insert_requests, we can directly reuse the result instead of
dereferencing hctx again in the dd_insert_request function. This
patch removes the redundant operation and modifies the function's
parameters accordingly. We can eliminate an LDR instruction.
Signed-off-by: Chengkaitao <[email protected]>1 parent 6f43942 commit 11f7bb3
1 file changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
633 | 633 | | |
634 | 634 | | |
635 | 635 | | |
636 | | - | |
| 636 | + | |
637 | 637 | | |
638 | 638 | | |
639 | | - | |
640 | 639 | | |
641 | 640 | | |
642 | 641 | | |
| |||
694 | 693 | | |
695 | 694 | | |
696 | 695 | | |
697 | | - | |
| 696 | + | |
698 | 697 | | |
699 | 698 | | |
700 | 699 | | |
| |||
0 commit comments