Staging: hv: blkvsc: We don't support removable media; get rid of unnecessary state
We don't support removable media; get rid of unnecessary state. Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Abhishek Kane <v-abkane@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
3a4505897c
commit
30c1edc639
1 changed files with 0 additions and 1 deletions
|
@ -926,7 +926,6 @@ static int blkvsc_probe(struct hv_device *dev)
|
|||
else
|
||||
blkdev->gd->first_minor = 0;
|
||||
blkdev->gd->fops = &block_ops;
|
||||
blkdev->gd->events = DISK_EVENT_MEDIA_CHANGE;
|
||||
blkdev->gd->private_data = blkdev;
|
||||
blkdev->gd->driverfs_dev = &(blkdev->device_ctx->device);
|
||||
sprintf(blkdev->gd->disk_name, "hd%c", 'a' + major_info.index);
|
||||
|
|
Loading…
Reference in a new issue