nv50: Remove dead initialization.
authorVinson Lee <vlee@vmware.com>
Sun, 19 Sep 2010 06:07:41 +0000 (23:07 -0700)
committerVinson Lee <vlee@vmware.com>
Sun, 19 Sep 2010 06:07:41 +0000 (23:07 -0700)
src/gallium/drivers/nv50/nv50_pc_regalloc.c

index b9d5ba5ef67e4d28bdc1340b6cb452266981e5d8..39ae36681c0baa653c11a0201e6f9000d21573fd 100644 (file)
@@ -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;