Cleanup calls to cleanup() in hv_mouse.c as this is an empty function.
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: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
static void mousevsc_drv_exit(void)
{
- struct mousevsc_drv_obj *mousevsc_drv_obj = &g_mousevsc_drv;
struct hv_driver *drv = &g_mousevsc_drv.base;
int ret;
device_unregister(current_dev);
}
- if (mousevsc_drv_obj->base.cleanup)
- mousevsc_drv_obj->base.cleanup(&mousevsc_drv_obj->base);
-
vmbus_child_driver_unregister(&drv->driver);
return;