]> www.infradead.org Git - users/dwmw2/linux.git/commit
io_uring: remove checks for NULL 'sq_offset'
authorJens Axboe <axboe@kernel.dk>
Wed, 22 May 2024 17:13:44 +0000 (11:13 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 22 May 2024 17:13:44 +0000 (11:13 -0600)
commit547988ad0f9661cd9632bdebd63cf38e008b55b2
treea11c8034c0ff69cc9c663aa7e4c6de100509dc22
parentd13ddd9c893f0e8498526bf88c6b5fad01f0edd8
io_uring: remove checks for NULL 'sq_offset'

Since the 5.12 kernel release, nobody has been passing NULL as the
sq_offset pointer. Remove the checks for it being NULL or not, it will
always be valid.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/io_uring.c