kdrive/ephyr: Remove duplicate ephyrExtensions and ephyrExtensionInit decls
authorKeith Packard <keithp@keithp.com>
Fri, 4 Oct 2013 23:43:41 +0000 (16:43 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 4 Oct 2013 23:43:41 +0000 (16:43 -0700)
These were duplicated when GLX support was re-added on two different branches.

Signed-off-by: Keith Packard <keithp@keithp.com>
hw/kdrive/ephyr/ephyrinit.c

index 80b7a6a..cf8bc90 100644 (file)
@@ -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)
 {