summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2010-10-25 11:59:17 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2010-10-26 06:32:34 +1000
commit805b3771bfad089fea78f7c509cf9c17336f6946 (patch)
tree04203bc01bb2cac3731dd3f5c49773f1fd33b091
parenta8b201a5b7d2fb8681b7008c2f6e15bc53041168 (diff)
Remove unused branch from if 1 condition.
This has been in since 2003 or earlier, let's pretend it works. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--src/mouse.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mouse.c b/src/mouse.c
index f18fe64..341f07f 100644
--- a/src/mouse.c
+++ b/src/mouse.c
@@ -2369,13 +2369,7 @@ SetupMouse(InputInfoPtr pInfo)
pMse->protoPara[i] = protoPara[i];
/* if we come here PnP/OS mouse probing was successful */
} else {
-#if 1
/* PnP/OS mouse probing wasn't successful; we look at data */
-#else
- xf86Msg(X_ERROR, "%s: cannot determine the mouse protocol\n",
- pInfo->name);
- return FALSE;
-#endif
}
}