]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
io_uring/nop: Drop a wrong comment in struct io_nop
authorGabriel Krisman Bertazi <krisman@suse.de>
Tue, 2 Jun 2026 21:53:26 +0000 (17:53 -0400)
committerJens Axboe <axboe@kernel.dk>
Tue, 2 Jun 2026 23:43:20 +0000 (17:43 -0600)
This was copy-pasted from io_rw, where the comment actually makes sense.
Here, we don't have struct kiocb. Drop the comment.

Signed-off-by: Gabriel Krisman Bertazi <krisman@suse.de>
Link: https://patch.msgid.link/20260602215327.1885109-4-krisman@suse.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/nop.c

index 3caf07878f8acaff85c0f6ecd75d1fbe648c453f..e3333b5ed4e0f84d8bc84380de8f30b2ff691df4 100644 (file)
@@ -12,7 +12,6 @@
 #include "nop.h"
 
 struct io_nop {
-       /* NOTE: kiocb has the file as the first member, so don't do it here */
        struct file     *file;
        int             result;
        int             fd;