1 parent 3e68abb commit 3ca5accCopy full SHA for 3ca5acc
1 file changed
test/recv-mshot-fair.c
@@ -194,7 +194,7 @@ static int do_recv(struct io_uring *ring)
194
struct iter iter = { .last_res = -4096, };
195
struct io_uring_cqe *cqe;
196
struct recv_data *rd;
197
- int ret = 1, i = 0;
+ int ret = 1;
198
int done = 0;
199
200
last_rd = NULL;
@@ -223,7 +223,6 @@ static int do_recv(struct io_uring *ring)
223
done++;
224
continue;
225
}
226
- i++;
227
io_uring_cqe_seen(ring, cqe);
228
if (!(cqe->flags & IORING_CQE_F_MORE) && rd->recv_bytes)
229
arm_recv(ring, rd);
0 commit comments