diff options
author | Jens Axboe <axboe@kernel.dk> | 2021-10-23 15:52:23 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-10-25 17:28:38 +0200 |
commit | 4c3d8accdce26afa8089609593aa92965b500f72 (patch) | |
tree | 2532d9321a09daf301b46b6fce6ac656416c4f02 /drivers/nvme | |
parent | block: kill extra rcu lock/unlock in queue enter (diff) | |
download | linux-4c3d8accdce26afa8089609593aa92965b500f72.tar.xz linux-4c3d8accdce26afa8089609593aa92965b500f72.zip |
usb: remove res2 argument from gadget code completions
The USB gadget code is the only code that every tried to utilize the
2nd argument of the aio completions, but there are strong suspicions
that it was never actually used by anything on the userspace side.
Out of the 3 cases that touch it, two of them just pass in the same
as res, and the last one passes in error/transfer in res like any
other normal use case.
Remove the 2nd argument, pass 0 like the rest of the in-kernel users
of kiocb based IO.
Link: https://lore.kernel.org/linux-block/20211021174021.273c82b1.john@metanate.com/
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/nvme')
0 files changed, 0 insertions, 0 deletions