projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78d9d7c
)
io_uring: remove unsued assignment to pointer io
author
Colin Ian King
<colin.king@canonical.com>
Fri, 26 Mar 2021 19:52:51 +0000
(19:52 +0000)
committer
Jens Axboe
<axboe@kernel.dk>
Sat, 27 Mar 2021 20:09:11 +0000
(14:09 -0600)
There is an assignment to io that is never read after the assignment,
the assignment is redundant and can be removed.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c
patch
|
blob
|
history
diff --git
a/fs/io_uring.c
b/fs/io_uring.c
index 880abd8b6d318252c02153a664dcc448d82a117d..1949b80677e7924411d28b476a318b17517a482a 100644
(file)
--- a/
fs/io_uring.c
+++ b/
fs/io_uring.c
@@
-4798,7
+4798,6
@@
static int io_connect(struct io_kiocb *req, unsigned int issue_flags)
ret = -ENOMEM;
goto out;
}
- io = req->async_data;
memcpy(req->async_data, &__io, sizeof(__io));
return -EAGAIN;
}