Commit 5182ed2
io_uring: refactor io_submit_flush_completions
Don't init req_batch before we actually need it. Also, add a small clean
up for req declaration.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/ad85512e12bd3a20d521e9782750300970e5afc8.1624739600.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent 4cfb25b commit 5182ed2
1 file changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2132 | 2132 | | |
2133 | 2133 | | |
2134 | 2134 | | |
2135 | | - | |
2136 | 2135 | | |
2137 | 2136 | | |
2138 | | - | |
2139 | 2137 | | |
2140 | 2138 | | |
2141 | | - | |
| 2139 | + | |
| 2140 | + | |
2142 | 2141 | | |
2143 | 2142 | | |
2144 | 2143 | | |
2145 | 2144 | | |
2146 | 2145 | | |
2147 | | - | |
2148 | 2146 | | |
| 2147 | + | |
| 2148 | + | |
2149 | 2149 | | |
2150 | | - | |
| 2150 | + | |
2151 | 2151 | | |
2152 | 2152 | | |
2153 | 2153 | | |
| |||
0 commit comments