mirror of
https://github.com/X11Libre/xf86-input-synaptics.git
synced 2026-04-14 11:54:16 +00:00
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>
This commit is contained in:
committed by
Peter Hutterer
parent
c731f5878b
commit
b332217715
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user