From: K. Y. Srinivasan Date: Mon, 6 Jun 2011 22:49:44 +0000 (-0700) Subject: Staging: hv: blkvsc: We don't support removable media; get rid of unnecessary state X-Git-Tag: MMI-PSA29.97-13-9~18845^2~568^2~62 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=30c1edc63953acbb15ee2f08fedc07811de12f0b;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/hv/blkvsc_drv.c b/drivers/staging/hv/blkvsc_drv.c index a44fc7684727..3612574ca520 100644 --- a/drivers/staging/hv/blkvsc_drv.c +++ b/drivers/staging/hv/blkvsc_drv.c @@ -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);