From b3322177155fccefb93fdd325dc2c3f8c5eb9f65 Mon Sep 17 00:00:00 2001 From: Alexandr Shadchin Date: Mon, 28 Feb 2011 16:38:22 +0500 Subject: [PATCH] Removing extra call SetDeviceAndProtocol() SetDeviceAndProtocol() calling in SynapticsPreInit(), extra calling in DeviceOn() unnecessary. Signed-off-by: Alexandr Shadchin Reviewed-by: Peter Hutterer Signed-off-by: Peter Hutterer --- src/synaptics.c | 1 - 1 file changed, 1 deletion(-) 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);