[Mesa-dev] [PATCH 3/6] targets/d3dadapter9: remove an unused variable

Marek Olšák maraeo at gmail.com
Fri Feb 20 11:22:49 PST 2015


From: Marek Olšák <marek.olsak at amd.com>

---
 src/gallium/targets/d3dadapter9/drm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/targets/d3dadapter9/drm.c b/src/gallium/targets/d3dadapter9/drm.c
index cb0c48f..ec594fd 100644
--- a/src/gallium/targets/d3dadapter9/drm.c
+++ b/src/gallium/targets/d3dadapter9/drm.c
@@ -216,7 +216,7 @@ drm_create_adapter( int fd,
 {
     struct d3dadapter9drm_context *ctx = CALLOC_STRUCT(d3dadapter9drm_context);
     HRESULT hr;
-    int i, different_device;
+    int different_device;
     const struct drm_conf_ret *throttle_ret = NULL;
     const struct drm_conf_ret *dmabuf_ret = NULL;
     driOptionCache defaultInitOptions;
-- 
2.1.0



More information about the mesa-dev mailing list