[PATCH mouse 13/23] Remove unused branch from if 1 condition.

Peter Hutterer peter.hutterer at who-t.net
Sun Oct 24 23:25:21 PDT 2010


This has been in since 2003 or earlier, let's pretend it works.

Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 src/mouse.c |    6 ------
 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
 	}
     }
 
-- 
1.7.2.3



More information about the xorg-devel mailing list