diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-03-13 16:29:36 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-03-16 13:29:07 +1000 |
commit | be6dc9023b5fb3995a9ce56d607627e247918aef (patch) | |
tree | f956c9bacfdefd749af4b701e0cf17360a87ba08 /hw | |
parent | bfab422dcdbb9c009b2a91fe0dba288fac9bc859 (diff) |
xfree86: remove a superfluous assignment.
If dev is NULL, we don't have a VCP and that means we have other issues
anyway.
Diffstat (limited to 'hw')
-rw-r--r-- | hw/xfree86/common/xf86Cursor.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/xfree86/common/xf86Cursor.c b/hw/xfree86/common/xf86Cursor.c index 29b690ac8..6740faf65 100644 --- a/hw/xfree86/common/xf86Cursor.c +++ b/hw/xfree86/common/xf86Cursor.c @@ -227,8 +227,6 @@ xf86SwitchMode(ScreenPtr pScreen, DisplayModePtr mode) if (IsPointerDevice(dev) && dev->spriteInfo->spriteOwner) break; } - if (!dev) - dev = inputInfo.pointer; pCursorScreen = miPointerGetScreen(dev); if (pScreen == pCursorScreen) |