Staging: hv: blk: Get rid of the unused initialization of the name field
authorK. Y. Srinivasan <kys@microsoft.com>
Mon, 6 Jun 2011 22:49:33 +0000 (15:49 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 7 Jun 2011 20:45:47 +0000 (13:45 -0700)
The name field of hv_driver is unused in blkvsc_drv.c; get rid of it.

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>
drivers/staging/hv/blkvsc_drv.c

index 46daade7a9e2c40935fc04ee0774d1cee66d3dc4..bcf562f5ffd340f91dd2c2240496bcadb3cdc393 100644 (file)
@@ -824,7 +824,6 @@ static int blkvsc_drv_init(void)
        BUILD_BUG_ON(sizeof(sector_t) != 8);
 
        memcpy(&drv->dev_type, &dev_type, sizeof(struct hv_guid));
-       drv->name = drv_name;
        drv->driver.name = drv_name;
 
        /* The driver belongs to vmbus */