Mesa (master): nv50: Remove dead initialization.

Vinson Lee vlee at kemper.freedesktop.org
Sun Sep 19 06:08:11 UTC 2010


Module: Mesa
Branch: master
Commit: fa1056190897719d9ae7410965abb187392ef520
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fa1056190897719d9ae7410965abb187392ef520

Author: Vinson Lee <vlee at vmware.com>
Date:   Sat Sep 18 23:07:41 2010 -0700

nv50: Remove dead initialization.

---

 src/gallium/drivers/nv50/nv50_pc_regalloc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/nv50/nv50_pc_regalloc.c b/src/gallium/drivers/nv50/nv50_pc_regalloc.c
index b9d5ba5..39ae366 100644
--- a/src/gallium/drivers/nv50/nv50_pc_regalloc.c
+++ b/src/gallium/drivers/nv50/nv50_pc_regalloc.c
@@ -767,7 +767,7 @@ nv50_ctor_register_set(struct nv_pc *pc, struct register_set *set)
 static void
 insert_ordered_tail(struct nv_value *list, struct nv_value *nval)
 {
-   struct nv_value *elem = list->prev;
+   struct nv_value *elem;
 
    for (elem = list->prev;
 	elem != list && elem->livei->bgn > nval->livei->bgn;




More information about the mesa-commit mailing list