r600g: Don't return a value in function returning void.

Fixes this GCC warning.
radeon_state.c: In function 'radeon_state_fini':
radeon_state.c:140: warning: 'return' with a value, in function returning void
This commit is contained in:
Vinson Lee 2010-09-26 03:10:58 -07:00
parent 4743c7fbe7
commit 51bfd4e34a
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ void radeon_state_fini(struct radeon_state *state)
unsigned i;
if (state == NULL)
return NULL;
return;
for (i = 0; i < state->nbo; i++) {
radeon_ws_bo_reference(state->radeon, &state->bo[i], NULL);
}