From: K. Y. Srinivasan Date: Tue, 10 May 2011 14:56:15 +0000 (-0700) Subject: Staging: hv: Get rid of an empty function mouse_vsc_initialize() X-Git-Tag: firefly_0821_release~7613^2~1326^2~285 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8cd442d086512073fd1907c1969a03e7c068c7f9;p=firefly-linux-kernel-4.4.55.git Staging: hv: Get rid of an empty function mouse_vsc_initialize() Now, get rid of the empty function. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Hank Janssen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/hv/hv_mouse.c b/drivers/staging/hv/hv_mouse.c index 85b95d8ee2c1..6dc2761f7fc1 100644 --- a/drivers/staging/hv/hv_mouse.c +++ b/drivers/staging/hv/hv_mouse.c @@ -977,22 +977,12 @@ static void mousevsc_drv_exit(void) return; } -static int mouse_vsc_initialize(struct hv_driver *driver) -{ - - return 0; -} - - static int __init mousevsc_init(void) { - struct mousevsc_drv_obj *input_drv_obj = &mousevsc_drv; struct hv_driver *drv = &mousevsc_drv.base; DPRINT_INFO(INPUTVSC_DRV, "Hyper-V Mouse driver initializing."); - /* Callback to client driver to complete the initialization */ - mouse_vsc_initialize(&input_drv_obj->base); memcpy(&drv->dev_type, &mouse_guid, sizeof(struct hv_guid));