summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv50/nv50_screen.c
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2010-04-17 20:37:53 -0700
committerVinson Lee <vlee@vmware.com>2010-04-17 20:39:03 -0700
commitb054d7912d68f2b053f5c6a80fa5bf7600d2fdd6 (patch)
tree58c9fa7102352de6f56df94d0713def36ca328c3 /src/gallium/drivers/nv50/nv50_screen.c
parent5db285b742c9e38ff110c72ab45ed1f6a9200c8d (diff)
nv50: Remove unused variable.
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_screen.c')
-rw-r--r--src/gallium/drivers/nv50/nv50_screen.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/nv50/nv50_screen.c b/src/gallium/drivers/nv50/nv50_screen.c
index 7a831143f0..ad17991be9 100644
--- a/src/gallium/drivers/nv50/nv50_screen.c
+++ b/src/gallium/drivers/nv50/nv50_screen.c
@@ -96,8 +96,6 @@ nv50_screen_is_format_supported(struct pipe_screen *pscreen,
static int
nv50_screen_get_param(struct pipe_screen *pscreen, int param)
{
- struct nv50_screen *screen = nv50_screen(pscreen);
-
switch (param) {
case PIPE_CAP_MAX_TEXTURE_IMAGE_UNITS:
return 32;