[PATCH vmmouse 2/4] Remove superflouous assignment.

Peter Hutterer peter.hutterer at who-t.net
Mon Nov 1 16:09:42 PDT 2010


mPriv is freed a few lines down, assigning anything here makes no
difference.

Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 src/vmmouse.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/vmmouse.c b/src/vmmouse.c
index 59e7be7..00960cc 100644
--- a/src/vmmouse.c
+++ b/src/vmmouse.c
@@ -276,7 +276,6 @@ VMMousePreInit(InputDriverPtr drv, IDevPtr dev, int flags)
        */
       InputDriverRec *passthruMouse;
       xf86Msg(X_ERROR, "VMWARE(0): vmmouse enable failed\n");
-      mPriv->vmmouseAvailable = FALSE;
       passthruMouse = (InputDriverRec *)LoaderSymbol("MOUSE");
       free(mPriv);
       if(passthruMouse != NULL){
-- 
1.7.3.1



More information about the xorg-devel mailing list