Use only space_left, not sqes_left

This commit is contained in:
Vitaliy Filippov
2025-11-23 15:17:57 +03:00
parent 5d3f3f47a7
commit 3ad83e8d13
4 changed files with 4 additions and 8 deletions
+1 -5
View File
@@ -68,11 +68,7 @@ public:
struct io_uring_cqe *cqe;
return io_uring_wait_cqe(&ring, &cqe);
}
int sqes_left();
inline unsigned space_left()
{
return free_ring_data_ptr;
}
unsigned space_left();
inline bool has_work()
{
return loop_again;