Xext: shm: drop obsolete ShmScreenClose()

Since it's now doing nothing more than unhooking itself, we really
don't need it anymore.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2025-10-21 10:41:27 +02:00
committed by Enrico Weigelt
parent 37226395ad
commit a2068d6662

View File

@@ -197,12 +197,6 @@ CheckForShmSyscall(void)
#endif
static void
ShmScreenClose(CallbackListPtr *pcbl, ScreenPtr pScreen, void *unused)
{
dixScreenUnhookClose(pScreen, ShmScreenClose);
}
static Bool privatesRegistered = FALSE;
static Bool
@@ -1391,7 +1385,6 @@ ShmExtensionInit(void)
screen_priv->shmFuncs = &miFuncs;
if (!screen_priv->shmFuncs->CreatePixmap)
sharedPixmaps = xFalse;
dixScreenHookClose(walkScreen, ShmScreenClose);
});
if (sharedPixmaps)
DIX_FOR_EACH_SCREEN({