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: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
parent
13ab64880e
commit
3d3a6a2088
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue