]> git.baikalelectronics.ru Git - kernel.git/commit
ubd: remove dead code in ubd_setup_common
authorChristoph Hellwig <hch@lst.de>
Mon, 28 Jun 2021 09:39:37 +0000 (11:39 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 30 Jun 2021 21:35:45 +0000 (15:35 -0600)
commitefee99e68e69d8a1966f3d426cc0cea73e32c6d7
tree8af7696a0ec73f852ff9a2ddd4bdca8b404ba18e
parentae5e6886b4f8d62a9d01fea4221a854e541a1cd0
ubd: remove dead code in ubd_setup_common

Remove some leftovers of the fake major number parsing that cause
complains from some compilers.

Fixes: 2933a1b2c6f3 ("ubd: remove the code to register as the legacy IDE driver")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20210628093937.1325608-1-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
arch/um/drivers/ubd_kern.c