Commit cf5e5cbf authored by K. Y. Srinivasan's avatar K. Y. Srinivasan Committed by Greg Kroah-Hartman
Browse files

Staging: hv: Cleanup calls to cleanup() in hv_mouse.c



Cleanup calls to cleanup() in hv_mouse.c as this is an empty function.

Signed-off-by: default avatarK. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: default avatarHaiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: default avatarAbhishek Kane <v-abkane@microsoft.com>
Signed-off-by: default avatarHank Janssen <hjanssen@microsoft.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 205dec16
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -947,7 +947,6 @@ static int mousevsc_drv_exit_cb(struct device *dev, void *data)

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;

@@ -970,9 +969,6 @@ static void mousevsc_drv_exit(void)
		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;