mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-25 01:59:56 +00:00
xkb: remove unused label "out", clean up program flow.
This commit is contained in:
@@ -81,12 +81,10 @@ _XkbLookupAnyDevice(DeviceIntPtr *pDev, int id, ClientPtr client,
|
||||
|
||||
if (id == XkbUseCoreKbd) {
|
||||
id = PickKeyboard(client)->id;
|
||||
}
|
||||
if (id == XkbUseCorePtr) {
|
||||
} else if (id == XkbUseCorePtr) {
|
||||
id = PickPointer(client)->id;
|
||||
}
|
||||
rc = dixLookupDevice(pDev, id, client, access_mode);
|
||||
out:
|
||||
if (rc != Success)
|
||||
*xkb_err = XkbErr_BadDevice;
|
||||
return rc;
|
||||
|
||||
Reference in New Issue
Block a user