*/
 static int io_poll_check_events(struct io_kiocb *req, bool *locked)
 {
-       struct io_ring_ctx *ctx = req->ctx;
        int v, ret;
 
        /* req->task == current here, checking PF_EXITING is safe */
                        __poll_t mask = mangle_poll(req->cqe.res &
                                                    req->apoll_events);
 
-                       if (!io_aux_cqe(ctx, *locked, req->cqe.user_data,
+                       if (!io_aux_cqe(req->ctx, *locked, req->cqe.user_data,
                                        mask, IORING_CQE_F_MORE, false)) {
                                io_req_set_res(req, mask, 0);
                                return IOU_POLL_REMOVE_POLL_USE_RES;