summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-04-17 14:49:40 -0700
committerVinson Lee <[email protected]>2010-04-17 14:49:40 -0700
commitc5e4a6dc9d78a8372a2f49ded5d7360e42c51488 (patch)
tree56cba79a2c086d53981fc60e9f862b1b729b0a96 /src/gallium
parentf426295521f81a152e641593d89a7708326bffd2 (diff)
nv50: Remove redundant assignment.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/nv50/nv50_state_validate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv50/nv50_state_validate.c b/src/gallium/drivers/nv50/nv50_state_validate.c
index a4deb56ffc8..5cac3a29e49 100644
--- a/src/gallium/drivers/nv50/nv50_state_validate.c
+++ b/src/gallium/drivers/nv50/nv50_state_validate.c
@@ -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]);