From: Jakob Bornecrantz Date: Sat, 25 Apr 2009 11:56:07 +0000 (+0100) Subject: gallium-intel: Fix warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a098e6090319e618f71e2ff5ee9b6a993571fddf;p=mesa.git gallium-intel: Fix warning --- diff --git a/src/gallium/winsys/drm/intel/gem/intel_be_device.c b/src/gallium/winsys/drm/intel/gem/intel_be_device.c index 4fa7a5e1a22..c866c2a2f1e 100644 --- a/src/gallium/winsys/drm/intel/gem/intel_be_device.c +++ b/src/gallium/winsys/drm/intel/gem/intel_be_device.c @@ -177,8 +177,6 @@ intel_be_handle_from_buffer(struct pipe_screen *screen, struct pipe_buffer *buffer, unsigned *handle) { - drm_intel_bo *bo; - if (!buffer) return FALSE;