aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/mouse/psmouse-base.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2015-01-15 12:46:14 -0500
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2015-01-15 12:46:14 -0500
commit0c49cd295d42d0032af11d55e2140dbec11dc8d0 (patch)
tree1e7d0e50b6b6d6e4de1fb6bb0b6d856c3932da58 /drivers/input/mouse/psmouse-base.c
parent0c3e99437a66e4c869c60c2398449e6d98f3a988 (diff)
parenteaa27f34e91a14cdceed26ed6c6793ec1d186115 (diff)
Merge tag 'v3.19-rc4' into next
Merge with mainline to bring in the latest thermal and other changes.
Diffstat (limited to 'drivers/input/mouse/psmouse-base.c')
-rw-r--r--drivers/input/mouse/psmouse-base.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/input/mouse/psmouse-base.c b/drivers/input/mouse/psmouse-base.c
index 4a9de33a9afd..68469feda470 100644
--- a/drivers/input/mouse/psmouse-base.c
+++ b/drivers/input/mouse/psmouse-base.c
@@ -1548,16 +1548,9 @@ static int psmouse_reconnect(struct serio *serio)
1548{ 1548{
1549 struct psmouse *psmouse = serio_get_drvdata(serio); 1549 struct psmouse *psmouse = serio_get_drvdata(serio);
1550 struct psmouse *parent = NULL; 1550 struct psmouse *parent = NULL;
1551 struct serio_driver *drv = serio->drv;
1552 unsigned char type; 1551 unsigned char type;
1553 int rc = -1; 1552 int rc = -1;
1554 1553
1555 if (!drv || !psmouse) {
1556 psmouse_dbg(psmouse,
1557 "reconnect request, but serio is disconnected, ignoring...\n");
1558 return -1;
1559 }
1560
1561 mutex_lock(&psmouse_mutex); 1554 mutex_lock(&psmouse_mutex);
1562 1555
1563 if (serio->parent && serio->id.type == SERIO_PS_PSTHRU) { 1556 if (serio->parent && serio->id.type == SERIO_PS_PSTHRU) {