nv50: Remove redundant assignment.
authorVinson Lee <vlee@vmware.com>
Sat, 17 Apr 2010 21:49:40 +0000 (14:49 -0700)
committerVinson Lee <vlee@vmware.com>
Sat, 17 Apr 2010 21:49:40 +0000 (14:49 -0700)
src/gallium/drivers/nv50/nv50_state_validate.c

index a4deb56ffc8f40772595f2ab3937b3be291438c4..5cac3a29e497caebfb035473929bae9083895a3c 100644 (file)
@@ -237,7 +237,7 @@ static struct nouveau_stateobj *
 validate_stencil_ref(struct nv50_context *nv50)
 {
        struct nouveau_grobj *tesla = nv50->screen->tesla;
-       struct nouveau_stateobj *so = so = so_new(2, 2, 0);
+       struct nouveau_stateobj *so = so_new(2, 2, 0);
 
        so_method(so, tesla, NV50TCL_STENCIL_FRONT_FUNC_REF, 1);
        so_data  (so, nv50->stencil_ref.ref_value[0]);