Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 249523
b: refs/heads/master
c: f1f66f8
h: refs/heads/master
i:
  249521: 277f551
  249519: 02d6b52
v: v3
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed May 11, 2011
1 parent a2288f8 commit ea140a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d1f01b3e1738312f7e685c1b0c9023e91d4dc240
refs/heads/master: f1f66f8f0cb412b70838b1b4d8b03f953e09dd8c
8 changes: 1 addition & 7 deletions trunk/drivers/staging/hv/hv_mouse.c
Original file line number Diff line number Diff line change
Expand Up @@ -859,9 +859,6 @@ static int mousevsc_remove(struct hv_device *dev)
{
int ret = 0;

struct mousevsc_drv_obj *mousevsc_drv_obj =
drv_to_mousedrv(dev->device.driver);

struct input_device_context *input_dev_ctx;

input_dev_ctx = kmalloc(sizeof(struct input_device_context),
Expand All @@ -874,14 +871,11 @@ static int mousevsc_remove(struct hv_device *dev)
input_dev_ctx->connected = 0;
}

if (!mousevsc_drv_obj->base.dev_rm)
return -1;

/*
* Call to the vsc driver to let it know that the device
* is being removed
*/
ret = mousevsc_drv_obj->base.dev_rm(dev);
ret = mousevsc_on_device_remove(dev);

if (ret != 0) {
DPRINT_ERR(INPUTVSC_DRV,
Expand Down

0 comments on commit ea140a4

Please sign in to comment.