summaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2023-04-11 14:06:02 +0300
committerJens Axboe <axboe@kernel.dk>2023-04-12 21:09:41 +0300
commitceac766a5581e4e671ec8e5236b8fdaed8e4c8c9 (patch)
tree44f9f4d62541af3fd0c41009f16cca24bedf8dc4 /lib/test-string_helpers.c
parent8b1df11f97333d6d8647f1c6c0554eb2d9774396 (diff)
downloadlinux-ceac766a5581e4e671ec8e5236b8fdaed8e4c8c9.tar.xz
io_uring/kbuf: remove extra ->buf_ring null check
The kernel test robot complains about __io_remove_buffers(). io_uring/kbuf.c:221 __io_remove_buffers() warn: variable dereferenced before check 'bl->buf_ring' (see line 219) That check is not needed as ->buf_ring will always be set, so we can remove it and so silence the warning. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/9a632bbf749d9d911e605255652ce08d18e7d2c6.1681210788.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions