From: Keith Packard Date: Fri, 4 Oct 2013 23:43:41 +0000 (-0700) Subject: kdrive/ephyr: Remove duplicate ephyrExtensions and ephyrExtensionInit decls X-Git-Tag: xorg-server-1.14.99.2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f2d149b6d10edea7233d93c7e19f71decf11dc62;p=platform%2Fupstream%2Fxorg-server.git kdrive/ephyr: Remove duplicate ephyrExtensions and ephyrExtensionInit decls These were duplicated when GLX support was re-added on two different branches. Signed-off-by: Keith Packard --- diff --git a/hw/kdrive/ephyr/ephyrinit.c b/hw/kdrive/ephyr/ephyrinit.c index 80b7a6a..cf8bc90 100644 --- a/hw/kdrive/ephyr/ephyrinit.c +++ b/hw/kdrive/ephyr/ephyrinit.c @@ -48,22 +48,6 @@ extern KdKeyboardDriver LinuxEvdevKeyboardDriver; void processScreenArg(const char *screen_size, char *parent_id); -static const -ExtensionModule ephyrExtensions[] = { -#ifdef GLXEXT - {GlxExtensionInit, "GLX", &noGlxExtension}, -#endif -}; - -static void -ephyrExtensionInit(void) -{ - int i; - - for (i = 0; i < ARRAY_SIZE(ephyrExtensions); i++) - LoadExtension(&ephyrExtensions[i], TRUE); -} - void InitCard(char *name) {