diff options
author | K. Y. Srinivasan <kys@microsoft.com> | 2011-06-06 15:49:33 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-06-07 13:45:47 -0700 |
commit | efb83a7f46386a2c07866e9b48275ec3bfe22895 (patch) | |
tree | fde97991f32da6f6a20a6b0087d11bc84f0acadd /drivers/staging/hv/blkvsc_drv.c | |
parent | a838f9dcb9e5e6d61d91148fc269d7f378575834 (diff) | |
download | op-kernel-dev-efb83a7f46386a2c07866e9b48275ec3bfe22895.zip op-kernel-dev-efb83a7f46386a2c07866e9b48275ec3bfe22895.tar.gz |
Staging: hv: blk: Get rid of the unused initialization of the name field
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>
Diffstat (limited to 'drivers/staging/hv/blkvsc_drv.c')
-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 46daade..bcf562f5 100644 --- a/drivers/staging/hv/blkvsc_drv.c +++ b/drivers/staging/hv/blkvsc_drv.c @@ -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 */ |