diff options
author | Damien Le Moal <dlemoal@kernel.org> | 2025-06-11 10:14:57 +0900 |
---|---|---|
committer | Mikulas Patocka <mpatocka@redhat.com> | 2025-06-27 12:59:22 +0200 |
commit | 548d88f74ed49c3c9dbd68550b7b335c2afa6413 (patch) | |
tree | 6e94c4a8b9c899ba199c24c19bf904efda74183f /scripts/lib/kdoc/kdoc_re.py | |
parent | d142643c06bcbc8be173a4d749adf42dd798a617 (diff) |
dm: Simplify dm_io_complete()
The local variable first_requeue is not needed since it is always equal
to dm_io_flagged(io, DM_IO_WAS_SPLIT). Call __dm_io_complete() passing
this value directly and remove first_requeue.
Also declare dm_io_complete() as inline to make sure it is inlined in
its single call site, thus avoiding the cost of a function call.
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions