File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -1185,7 +1185,6 @@ static inline void __ublk_abort_rq(struct ublk_queue *ubq,
1185
1185
}
1186
1186
1187
1187
static void ublk_dispatch_req (struct ublk_queue * ubq ,
1188
- struct io_uring_cmd * cmd ,
1189
1188
struct request * req ,
1190
1189
unsigned int issue_flags )
1191
1190
{
@@ -1273,7 +1272,7 @@ static void ublk_cmd_tw_cb(struct io_uring_cmd *cmd,
1273
1272
struct request * req = blk_mq_tag_to_rq (
1274
1273
ubq -> dev -> tag_set .tags [ubq -> q_id ], tag );
1275
1274
1276
- ublk_dispatch_req (ubq , cmd , req , issue_flags );
1275
+ ublk_dispatch_req (ubq , req , issue_flags );
1277
1276
}
1278
1277
1279
1278
static void ublk_queue_cmd (struct ublk_queue * ubq , struct request * rq )
@@ -1292,11 +1291,9 @@ static void ublk_cmd_list_tw_cb(struct io_uring_cmd *cmd,
1292
1291
struct request * next ;
1293
1292
1294
1293
while (rq ) {
1295
- struct ublk_io * io = & ubq -> ios [rq -> tag ];
1296
-
1297
1294
next = rq -> rq_next ;
1298
1295
rq -> rq_next = NULL ;
1299
- ublk_dispatch_req (ubq , io -> cmd , rq , issue_flags );
1296
+ ublk_dispatch_req (ubq , rq , issue_flags );
1300
1297
rq = next ;
1301
1298
}
1302
1299
}
You can’t perform that action at this time.
0 commit comments