summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandr Shadchin <alexandr.shadchin@gmail.com>2011-02-28 16:38:22 +0500
committerPeter Hutterer <peter.hutterer@who-t.net>2011-03-01 11:53:43 +1000
commitb3322177155fccefb93fdd325dc2c3f8c5eb9f65 (patch)
treefd9630e00828ddf7c3d422caac71be50dfdc2667
parentc731f5878b516d2ff613c74305473cdfc3ee0794 (diff)
Removing extra call SetDeviceAndProtocol()
SetDeviceAndProtocol() calling in SynapticsPreInit(), extra calling in DeviceOn() unnecessary. Signed-off-by: Alexandr Shadchin <Alexandr.Shadchin@gmail.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--src/synaptics.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/synaptics.c b/src/synaptics.c
index ab7a463..0b1681a 100644
--- a/src/synaptics.c
+++ b/src/synaptics.c
@@ -844,7 +844,6 @@ DeviceOn(DeviceIntPtr dev)
DBG(3, "Synaptics DeviceOn called\n");
- SetDeviceAndProtocol(pInfo);
pInfo->fd = xf86OpenSerial(pInfo->options);
if (pInfo->fd == -1) {
xf86Msg(X_WARNING, "%s: cannot open input device\n", pInfo->name);