ubd: remove ubd_disk_register
authorChristoph Hellwig <hch@lst.de>
Thu, 22 Feb 2024 07:24:12 +0000 (08:24 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 27 Feb 2024 21:21:15 +0000 (14:21 -0700)
commit0267e9cac6de0c25ec1b6e3fef4fd8a87a4774a2
tree09a2d7603c1a716768837bd0c6acb6d28a4f3356
parent32621ad7a7ea4c3add1dd6bd27b62c2b22500d54
ubd: remove ubd_disk_register

Fold it into the only caller to remove lots of references to the
global ubd_devs array.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Richard Weinberger <richard@nod.at>
Link: https://lore.kernel.org/r/20240222072417.3773131-3-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
arch/um/drivers/ubd_kern.c