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

Staging: hv: Get rid of the mouse cleanup() function



mousevsc_on_cleanup() is an empty function; get rid of it.

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 f1f66f8f
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -782,9 +782,6 @@ static int mousevsc_on_device_remove(struct hv_device *device)
	return ret;
}

static void mousevsc_on_cleanup(struct hv_driver *drv)
{
}

/*
 * Data types
@@ -994,7 +991,6 @@ static int mouse_vsc_initialize(struct hv_driver *driver)
	/* Setup the dispatch table */
	input_drv->base.dev_add = mousevsc_on_device_add;
	input_drv->base.dev_rm = mousevsc_on_device_remove;
	input_drv->base.cleanup = mousevsc_on_cleanup;

	return ret;
}