Commit 9ce5505
ublk: move ublk_prep_cancel() to case UBLK_IO_COMMIT_AND_FETCH_REQ
UBLK_IO_COMMIT_AND_FETCH_REQ is the only one of __ublk_ch_uring_cmd()'s
switch cases that doesn't return or goto. Move the logic following the
switch into this case so it also returns. Drop the now unneeded default
case.
Signed-off-by: Caleb Sander Mateos <[email protected]>
Reviewed-by: Ming Lei <[email protected]>1 parent a9c49c6 commit 9ce5505
1 file changed
Lines changed: 3 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2232 | 2232 | | |
2233 | 2233 | | |
2234 | 2234 | | |
2235 | | - | |
| 2235 | + | |
| 2236 | + | |
| 2237 | + | |
2236 | 2238 | | |
2237 | 2239 | | |
2238 | 2240 | | |
2239 | 2241 | | |
2240 | 2242 | | |
2241 | 2243 | | |
2242 | | - | |
2243 | | - | |
2244 | 2244 | | |
2245 | | - | |
2246 | | - | |
2247 | 2245 | | |
2248 | 2246 | | |
2249 | 2247 | | |
| |||
0 commit comments