Staging: hv: mouse: Get rid of the unused initialization of the name field
authorK. Y. Srinivasan <kys@microsoft.com>
Mon, 6 Jun 2011 22:49:34 +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 hv_mouse.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/hv_mouse.c

index 359e737..b191810 100644 (file)
@@ -936,7 +936,6 @@ static int __init mousevsc_init(void)
               sizeof(struct hv_guid));
 
        drv->driver.name = driver_name;
-       drv->name = driver_name;
 
        /* The driver belongs to vmbus */
        vmbus_child_driver_register(&drv->driver);