mirror of
https://github.com/torvalds/linux.git
synced 2026-06-05 13:06:59 +02:00
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>
This commit is contained in:
parent
a838f9dcb9
commit
efb83a7f46
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user