block: remove devnode callback from struct block_device_operations
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 3 Dec 2022 14:07:47 +0000 (15:07 +0100)
committerJens Axboe <axboe@kernel.dk>
Sat, 3 Dec 2022 16:19:48 +0000 (09:19 -0700)
commit85d6ce58e493ac8b7122e2fbe3f41b94d6ebdc11
tree567ab41376168b04dd0479b2f1a05ffbd6b971d1
parent368c7f1f8a680734e14ccc62e3fda19bd08450bb
block: remove devnode callback from struct block_device_operations

With the removal of the pktcdvd driver, there are no in-kernel users of
the devnode callback in struct block_device_operations, so it can be
safely removed.  If it is needed for new block drivers in the future, it
can be brought back.

Cc: Jens Axboe <axboe@kernel.dk>
Cc: linux-block@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20221203140747.1942969-1-gregkh@linuxfoundation.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/genhd.c
include/linux/blkdev.h