mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-13 15:30:36 +02:00
r600g: Remove unused variable.
Fixes this GCC warning. r600_screen.c: In function 'r600_screen_create': r600_screen.c:239: warning: unused variable 'family'
This commit is contained in:
parent
86cddfb110
commit
60ec71e8b9
1 changed files with 0 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue