io_uring: remove the mode variable in io_file_get_flags
authorChristoph Hellwig <hch@lst.de>
Tue, 20 Jun 2023 11:32:29 +0000 (13:32 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 20 Jun 2023 15:36:22 +0000 (09:36 -0600)
commit53cfd5cea7f36bac7f3d45de4fea77e0c8d57aee
tree16ab2e28f2bdac6a6cd106c40ecf3ebe17c7601d
parentb9a6c9459a5aec7bfd9b763554d15148367f1806
io_uring: remove the mode variable in io_file_get_flags

The variable is only once now, so don't bother with it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20230620113235.920399-3-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/io_uring.c