io_uring: remove unneeded variable 'ret'
authorYang Li <yang.lee@linux.alibaba.com>
Tue, 9 Mar 2021 06:30:41 +0000 (14:30 +0800)
committerJens Axboe <axboe@kernel.dk>
Wed, 10 Mar 2021 14:28:43 +0000 (07:28 -0700)
commit5199328a0d415b3e372633096b1b92f36b8ac9e5
tree5240212bf1122964ccb15ca2cfad5c0814770675
parent93e68e036c2fc1ce18e784418e4e19975a5882b4
io_uring: remove unneeded variable 'ret'

Fix the following coccicheck warning:
./fs/io_uring.c:8984:5-8: Unneeded variable: "ret". Return "0" on line
8998

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Link: https://lore.kernel.org/r/1615271441-33649-1-git-send-email-yang.lee@linux.alibaba.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c