From 1c68d1aa4c1b894b2cfda0c347c2020726bb0721 Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Tue, 20 Apr 2010 23:28:19 +0100 Subject: i915g: Minor clean up of winsys --- src/gallium/winsys/i915/drm/i915_drm_api.c | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'src') 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); } -- cgit v1.2.3