[PATCH v2 synaptics 04/11] Removing extra call SetDeviceAndProtocol()
Alexandr Shadchin
alexandr.shadchin at gmail.com
Mon Feb 28 03:38:22 PST 2011
SetDeviceAndProtocol() calling in SynapticsPreInit(), extra calling
in DeviceOn() unnecessary.
Signed-off-by: Alexandr Shadchin <Alexandr.Shadchin at gmail.com>
Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>
---
src/synaptics.c | 1 -
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);
--
1.7.3.5
More information about the xorg-devel
mailing list