* [PATCH v1 0/2] cleanup
[not found] <CGME20240902062908epcas5p334384250be037fb09463e5093c082b56@epcas5p3.samsung.com>
@ 2024-09-02 6:21 ` Anuj Gupta
[not found] ` <CGME20240902062909epcas5p29fbe563a154702da069dbeb348f8821b@epcas5p2.samsung.com>
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Anuj Gupta @ 2024-09-02 6:21 UTC (permalink / raw)
To: axboe, asml.silence; +Cc: io-uring, Anuj Gupta
Two cleanups
First patch adds a new line after variable declaration.
Second patch removes a unused declaration.
Anuj Gupta (2):
io_uring: add new line after variable declaration
io_uring: remove unused rsrc_put_fn
io_uring/eventfd.c | 1 +
io_uring/rsrc.h | 2 --
2 files changed, 1 insertion(+), 2 deletions(-)
--
2.25.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v1 1/2] io_uring: add new line after variable declaration
[not found] ` <CGME20240902062909epcas5p29fbe563a154702da069dbeb348f8821b@epcas5p2.samsung.com>
@ 2024-09-02 6:21 ` Anuj Gupta
0 siblings, 0 replies; 4+ messages in thread
From: Anuj Gupta @ 2024-09-02 6:21 UTC (permalink / raw)
To: axboe, asml.silence; +Cc: io-uring, Anuj Gupta
Fixes checkpatch warning
Signed-off-by: Anuj Gupta <[email protected]>
---
io_uring/eventfd.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/io_uring/eventfd.c b/io_uring/eventfd.c
index b9384503a2b7..d9836d43725f 100644
--- a/io_uring/eventfd.c
+++ b/io_uring/eventfd.c
@@ -126,6 +126,7 @@ int io_eventfd_register(struct io_ring_ctx *ctx, void __user *arg,
ev_fd->cq_ev_fd = eventfd_ctx_fdget(fd);
if (IS_ERR(ev_fd->cq_ev_fd)) {
int ret = PTR_ERR(ev_fd->cq_ev_fd);
+
kfree(ev_fd);
return ret;
}
--
2.25.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH v1 2/2] io_uring: remove unused rsrc_put_fn
[not found] ` <CGME20240902062910epcas5p490bdf7aa1ee9f31491c7948de089f220@epcas5p4.samsung.com>
@ 2024-09-02 6:21 ` Anuj Gupta
0 siblings, 0 replies; 4+ messages in thread
From: Anuj Gupta @ 2024-09-02 6:21 UTC (permalink / raw)
To: axboe, asml.silence; +Cc: io-uring, Anuj Gupta
rsrc_put_fn is declared but never used, remove it.
Signed-off-by: Anuj Gupta <[email protected]>
---
io_uring/rsrc.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/io_uring/rsrc.h b/io_uring/rsrc.h
index 18242b2e9da4..3d0dda3556e6 100644
--- a/io_uring/rsrc.h
+++ b/io_uring/rsrc.h
@@ -22,8 +22,6 @@ struct io_rsrc_put {
};
};
-typedef void (rsrc_put_fn)(struct io_ring_ctx *ctx, struct io_rsrc_put *prsrc);
-
struct io_rsrc_data {
struct io_ring_ctx *ctx;
--
2.25.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v1 0/2] cleanup
2024-09-02 6:21 ` [PATCH v1 0/2] cleanup Anuj Gupta
[not found] ` <CGME20240902062909epcas5p29fbe563a154702da069dbeb348f8821b@epcas5p2.samsung.com>
[not found] ` <CGME20240902062910epcas5p490bdf7aa1ee9f31491c7948de089f220@epcas5p4.samsung.com>
@ 2024-09-02 15:40 ` Jens Axboe
2 siblings, 0 replies; 4+ messages in thread
From: Jens Axboe @ 2024-09-02 15:40 UTC (permalink / raw)
To: asml.silence, Anuj Gupta; +Cc: io-uring
On Mon, 02 Sep 2024 11:51:32 +0530, Anuj Gupta wrote:
> Two cleanups
> First patch adds a new line after variable declaration.
> Second patch removes a unused declaration.
>
> Anuj Gupta (2):
> io_uring: add new line after variable declaration
> io_uring: remove unused rsrc_put_fn
>
> [...]
Applied, thanks!
[1/2] io_uring: add new line after variable declaration
commit: 6cf52b42c4efa4d064d19064fd2313ca4aaf9569
[2/2] io_uring: remove unused rsrc_put_fn
commit: c9f9ce65c2436879779d39c6e65b95c74a206e49
Best regards,
--
Jens Axboe
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-09-02 15:40 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <CGME20240902062908epcas5p334384250be037fb09463e5093c082b56@epcas5p3.samsung.com>
2024-09-02 6:21 ` [PATCH v1 0/2] cleanup Anuj Gupta
[not found] ` <CGME20240902062909epcas5p29fbe563a154702da069dbeb348f8821b@epcas5p2.samsung.com>
2024-09-02 6:21 ` [PATCH v1 1/2] io_uring: add new line after variable declaration Anuj Gupta
[not found] ` <CGME20240902062910epcas5p490bdf7aa1ee9f31491c7948de089f220@epcas5p4.samsung.com>
2024-09-02 6:21 ` [PATCH v1 2/2] io_uring: remove unused rsrc_put_fn Anuj Gupta
2024-09-02 15:40 ` [PATCH v1 0/2] cleanup Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox