2020-02-07 16:23:24

by Pavel Begunkov

[permalink] [raw]
Subject: [PATCH] io_uring: remove unused struct io_async_open

struct io_async_open is unused, remove it.

Signed-off-by: Pavel Begunkov <[email protected]>
---
fs/io_uring.c | 5 -----
1 file changed, 5 deletions(-)

diff --git a/fs/io_uring.c b/fs/io_uring.c
index deff11e84094..bff7a03e873f 100644
--- a/fs/io_uring.c
+++ b/fs/io_uring.c
@@ -450,17 +450,12 @@ struct io_async_rw {
ssize_t size;
};

-struct io_async_open {
- struct filename *filename;
-};
-
struct io_async_ctx {
union {
struct io_async_rw rw;
struct io_async_msghdr msg;
struct io_async_connect connect;
struct io_timeout_data timeout;
- struct io_async_open open;
};
};

--
2.24.0


2020-02-07 16:26:54

by Jens Axboe

[permalink] [raw]
Subject: Re: [PATCH] io_uring: remove unused struct io_async_open

On 2/7/20 9:21 AM, Pavel Begunkov wrote:
> struct io_async_open is unused, remove it.

Oops - thanks, applied.

--
Jens Axboe