summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-09-25 12:21:10 -0700
committerVinson Lee <[email protected]>2010-09-25 12:21:10 -0700
commit60ec71e8b96da647cd90d8639a4f8bc259d997d5 (patch)
treeb8cd5f3c5ecc8a01328a921a612c42bf15dd44cd /src/gallium
parent86cddfb1104a3b59a91c480b5fc14e169f4885dc (diff)
r600g: Remove unused variable.
Fixes this GCC warning. r600_screen.c: In function 'r600_screen_create': r600_screen.c:239: warning: unused variable 'family'
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/r600/r600_screen.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_screen.c b/src/gallium/drivers/r600/r600_screen.c
index d280a45bab7..be8a78ca3d0 100644
--- a/src/gallium/drivers/r600/r600_screen.c
+++ b/src/gallium/drivers/r600/r600_screen.c
@@ -236,7 +236,6 @@ static void r600_destroy_screen(struct pipe_screen* pscreen)
struct pipe_screen *r600_screen_create(struct radeon *rw)
{
struct r600_screen* rscreen;
- enum radeon_family family = radeon_get_family(rw);
rscreen = CALLOC_STRUCT(r600_screen);
if (rscreen == NULL) {