i965g: Minor clean up of winsys
authorJakob Bornecrantz <wallbraker@gmail.com>
Tue, 20 Apr 2010 22:30:41 +0000 (23:30 +0100)
committerJakob Bornecrantz <wallbraker@gmail.com>
Tue, 20 Apr 2010 22:53:59 +0000 (23:53 +0100)
src/gallium/winsys/i965/drm/i965_drm_api.c

index 9072a1863845d65f8114ad79daeb3753f6a7204b..4e63646ae094ce88d1a034ee99454dbb52e3e44e 100644 (file)
@@ -91,20 +91,12 @@ i965_libdrm_create_screen(struct drm_api *api, int drmFD,
    return brw_create_screen(&idws->base, deviceID);
 }
 
-
-static void
-destroy(struct drm_api *api)
-{
-   if (BRW_DUMP)
-      debug_printf("%s\n", __FUNCTION__);
-
-}
-
 struct drm_api i965_libdrm_api =
 {
    .name = "i965",
+   .driver_name = "i915",
    .create_screen = i965_libdrm_create_screen,
-   .destroy = destroy,
+   .destroy = NULL;
 };
 
 struct drm_api *