Commit 9ce85ef
committed
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>1 parent 8f487ef commit 9ce85ef
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4956 | 4956 | | |
4957 | 4957 | | |
4958 | 4958 | | |
4959 | | - | |
| 4959 | + | |
4960 | 4960 | | |
4961 | 4961 | | |
4962 | 4962 | | |
| |||
0 commit comments