queue: Remove unnecessary goto and label
This 'goto done' and 'done:' label are not needed, there is no cleanup
needed in this path. Simplify it. Just return 0 directly.
Link:
@@ -161,7 +161,7 @@ again:
}
if (overflow_checked)
- goto done;
+ return 0;
if (cq_ring_needs_flush(ring)) {
int flags = IORING_ENTER_GETEVENTS;
@@ -173,7 +173,6 @@ again:
goto again;
}
-done:
return 0;
}
