From f65520c4a7a34853864c8e67794d9088cbd0144d Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Fri, 13 Sep 2024 14:38:41 +0200 Subject: Xext: xvmc: drop unused XvMCScreenInitProc This pointer field isn't used anywhere, neither in Xorg nor in drivers. No need to keep it around any longer. Signed-off-by: Enrico Weigelt, metux IT consult Part-of: --- Xext/xvmc.c | 2 -- Xext/xvmcext.h | 2 -- 2 files changed, 4 deletions(-) diff --git a/Xext/xvmc.c b/Xext/xvmc.c index 435a1be12..277da1d0e 100644 --- a/Xext/xvmc.c +++ b/Xext/xvmc.c @@ -43,8 +43,6 @@ static RESTYPE XvMCRTContext; static RESTYPE XvMCRTSurface; static RESTYPE XvMCRTSubpicture; -int (*XvMCScreenInitProc)(ScreenPtr, int, XvMCAdaptorPtr) = NULL; - typedef struct { int num_adaptors; XvMCAdaptorPtr adaptors; diff --git a/Xext/xvmcext.h b/Xext/xvmcext.h index e8a6dae47..4a0b5bdee 100644 --- a/Xext/xvmcext.h +++ b/Xext/xvmcext.h @@ -84,8 +84,6 @@ typedef struct { XvMCDestroySubpictureProcPtr DestroySubpicture; } XvMCAdaptorRec, *XvMCAdaptorPtr; -extern int (*XvMCScreenInitProc)(ScreenPtr, int, XvMCAdaptorPtr); - extern _X_EXPORT int XvMCScreenInit(ScreenPtr pScreen, int num, XvMCAdaptorPtr adapt); -- cgit v1.2.3