diff options
author | K. Y. Srinivasan <kys@microsoft.com> | 2011-09-29 11:54:55 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-10-04 10:39:35 -0700 |
commit | 1486dd0d0a95de1aaedd17ece19d9263ce7e5192 (patch) | |
tree | 402e0f5d658567553a059d6d068c6634151a619f /drivers/staging/hv | |
parent | bdbbdb2d63fe340935ec6521da62fe9e73d8dc15 (diff) |
Staging: hv: mousevsc: Get rid of mousevsc_on_send_completion()
We don't need to handle the "send complete" callback - nothing needs to be done
here; get rid of the code.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv')
-rw-r--r-- | drivers/staging/hv/hv_mouse.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/drivers/staging/hv/hv_mouse.c b/drivers/staging/hv/hv_mouse.c index 38e31ae73a17..fc0ba6879cf4 100644 --- a/drivers/staging/hv/hv_mouse.c +++ b/drivers/staging/hv/hv_mouse.c @@ -288,25 +288,6 @@ static struct mousevsc_dev *final_release_input_device(struct hv_device *device) return input_dev; } -static void mousevsc_on_send_completion(struct hv_device *device, - struct vmpacket_descriptor *packet) -{ - struct mousevsc_dev *input_dev; - void *request; - - input_dev = must_get_input_device(device); - if (!input_dev) - return; - - request = (void *)(unsigned long)packet->trans_id; - - if (request == &input_dev->protocol_req) { - /* FIXME */ - /* Shouldn't we be doing something here? */ - } - - put_input_device(device); -} static void mousevsc_on_receive_device_info(struct mousevsc_dev *input_device, struct synthhid_device_info *device_info) @@ -480,8 +461,6 @@ static void mousevsc_on_channel_callback(void *context) switch (desc->type) { case VM_PKT_COMP: - mousevsc_on_send_completion( - device, desc); break; case VM_PKT_DATA_INBAND: |