summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2010-04-20 23:28:19 +0100
committerJakob Bornecrantz <[email protected]>2010-04-20 23:53:59 +0100
commit1c68d1aa4c1b894b2cfda0c347c2020726bb0721 (patch)
tree6986aef279bf6737e9961945e077e78950d00342 /src/gallium/winsys
parentfa2d84d2f78db09d88147276bc0f9b9c2d1586fe (diff)
i915g: Minor clean up of winsys
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r--src/gallium/winsys/i915/drm/i915_drm_api.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/gallium/winsys/i915/drm/i915_drm_api.c b/src/gallium/winsys/i915/drm/i915_drm_api.c
index 6bb0aec1a67..da87e51663d 100644
--- a/src/gallium/winsys/i915/drm/i915_drm_api.c
+++ b/src/gallium/winsys/i915/drm/i915_drm_api.c
@@ -88,22 +88,16 @@ i915_drm_create_screen(struct drm_api *api, int drmFD,
return i915_create_screen(&idws->base, deviceID);
}
-static void
-destroy(struct drm_api *api)
-{
-
-}
-
-struct drm_api intel_drm_api =
+static struct drm_api i915_drm_api =
{
.name = "i915",
.driver_name = "i915",
.create_screen = i915_drm_create_screen,
- .destroy = destroy,
+ .destroy = NULL;
};
struct drm_api *
drm_api_create()
{
- return trace_drm_create(&intel_drm_api);
+ return trace_drm_create(&i915_drm_api);
}