Commit 3576e60
ublk: don't pass ublk_queue to ublk_fetch()
ublk_fetch() only uses the ublk_queue to get the ublk_device, which its
caller already has. So just pass the ublk_device directly.
Signed-off-by: Caleb Sander Mateos <csander@purestorage.com>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent 23c0144 commit 3576e60
1 file changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2206 | 2206 | | |
2207 | 2207 | | |
2208 | 2208 | | |
2209 | | - | |
| 2209 | + | |
2210 | 2210 | | |
2211 | 2211 | | |
2212 | | - | |
2213 | 2212 | | |
2214 | 2213 | | |
2215 | 2214 | | |
| |||
2343 | 2342 | | |
2344 | 2343 | | |
2345 | 2344 | | |
2346 | | - | |
| 2345 | + | |
2347 | 2346 | | |
2348 | 2347 | | |
2349 | 2348 | | |
| |||
0 commit comments