diff options
author | K. Y. Srinivasan <kys@microsoft.com> | 2011-06-06 15:49:44 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-06-07 13:45:51 -0700 |
commit | 30c1edc63953acbb15ee2f08fedc07811de12f0b (patch) | |
tree | f7e373a19c54a27b666095e26c99ff0221e27f29 /drivers/staging/hv | |
parent | 3a4505897ccaf387f4befa8c0d308d994bcdbc37 (diff) |
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>
Diffstat (limited to 'drivers/staging/hv')
-rw-r--r-- | drivers/staging/hv/blkvsc_drv.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/hv/blkvsc_drv.c b/drivers/staging/hv/blkvsc_drv.c index a44fc768472..3612574ca52 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); |