Commit 3d3a6a20 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Jens Axboe
Browse files

xtensa/simdisk: remove the call to check_disk_change



The simdisk driver doesn't support event notifications, which means
that check_disk_change is a no-op.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 13ab6488
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -127,8 +127,6 @@ static int simdisk_open(struct block_device *bdev, fmode_t mode)
	struct simdisk *dev = bdev->bd_disk->private_data;

	spin_lock(&dev->lock);
	if (!dev->users)
		check_disk_change(bdev);
	++dev->users;
	spin_unlock(&dev->lock);
	return 0;