xfree86: remove a superfluous assignment.
If dev is NULL, we don't have a VCP and that means we have other issues anyway.
This commit is contained in:
parent
bfab422dcd
commit
be6dc9023b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user