diff options
author | Pavel Begunkov <[email protected]> | 2020-01-17 03:57:59 +0300 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2020-01-20 17:04:06 -0700 |
commit | 711be0312df4d350fb5bf1671c132cccae5aaf9a (patch) | |
tree | 88b1d8d532147eed4336a86e4916090b3a5ac6f3 /drivers/fpga/fpga-bridge.c | |
parent | 66f4af93da5761d2fa05c0dc673a47003cdb9cfe (diff) |
io_uring: optimise use of ctx->drain_next
Move setting ctx->drain_next to the only place it could be set, when it
got linked non-head requests. The same for checking it, it's interesting
only for a head of a link or a non-linked request.
No functional changes here. This removes some code from the common path
and also removes REQ_F_DRAIN_LINK flag, as it doesn't need it anymore.
Signed-off-by: Pavel Begunkov <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions