ublk: remove the empty open and release block device operations
authorChristoph Hellwig <hch@lst.de>
Thu, 21 Jul 2022 13:09:11 +0000 (15:09 +0200)
committerJens Axboe <axboe@kernel.dk>
Thu, 21 Jul 2022 16:52:12 +0000 (10:52 -0600)
commit49d686cceed2e3148ba2bd2dec7e09b86eba0337
treeae5c09070bf8068786f659c5aee1f3682136e013
parent5f8bcc837a9640ba4bf5e7b1d7f9b254ea029f47
ublk: remove the empty open and release block device operations

No need to define empty versions, they can just be left out.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20220721130916.1869719-4-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/ublk_drv.c