}
 
 /* assign new iovec to kmsg, if we need to */
-static int io_net_vec_assign(struct io_kiocb *req, struct io_async_msghdr *kmsg,
+static void io_net_vec_assign(struct io_kiocb *req, struct io_async_msghdr *kmsg,
                             struct iovec *iov)
 {
        if (iov) {
                        kfree(kmsg->free_iov);
                kmsg->free_iov = iov;
        }
-       return 0;
 }
 
 static inline void io_mshot_prep_retry(struct io_kiocb *req,
        if (unlikely(ret < 0))
                return ret;
 
-       return io_net_vec_assign(req, iomsg, iov);
+       io_net_vec_assign(req, iomsg, iov);
+       return 0;
 }
 #endif
 
        if (unlikely(ret < 0))
                return ret;
 
-       return io_net_vec_assign(req, iomsg, iov);
+       io_net_vec_assign(req, iomsg, iov);
+       return 0;
 }
 
 static int io_sendmsg_copy_hdr(struct io_kiocb *req,