paride/pd: remove ->revalidate_disk
authorChristoph Hellwig <hch@lst.de>
Mon, 8 Mar 2021 07:45:48 +0000 (08:45 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 29 Mar 2021 13:02:56 +0000 (07:02 -0600)
commit4bae7afdd789baedbc0b82a4b9ef51501dd7d4fe
tree69bb210da35eae37113c710dd3ad46cfd0858aaa
parentf8d62edfe2563fc86d12b80b07407dc095cdf0d2
paride/pd: remove ->revalidate_disk

->revalidate_disk is only called during add_disk for pd, but at that
point the driver has already set the capacity to the one returned from
Identify a little earlier, so this additional update is entirely
superflous.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20210308074550.422714-2-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/paride/pd.c