diff options
author | Jens Axboe <axboe@kernel.dk> | 2021-07-09 16:20:28 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-07-09 16:20:28 +0200 |
commit | 9ce85ef2cb5c738754837a6937e120694cde33c9 (patch) | |
tree | 8b42add96f803e2ce934a01b4adcac21a296c571 /usr | |
parent | io_uring: mitigate unlikely iopoll lag (diff) | |
download | linux-9ce85ef2cb5c738754837a6937e120694cde33c9.tar.xz linux-9ce85ef2cb5c738754837a6937e120694cde33c9.zip |
io_uring: remove dead non-zero 'poll' check
Colin reports that Coverity complains about checking for poll being
non-zero after having dereferenced it multiple times. This is a valid
complaint, and actually a leftover from back when this code was based
on the aio poll code.
Kill the redundant check.
Link: https://lore.kernel.org/io-uring/fe70c532-e2a7-3722-58a1-0fa4e5c5ff2c@canonical.com/
Reported-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions