Skip to content

Commit

Permalink
drm/radeon: fix unused variables warning
Browse files Browse the repository at this point in the history
just remove i variable left over from previous code.

Signed-off-by: Dave Airlie <airlied@redhat.com>
  • Loading branch information
Dave Airlie committed Jun 19, 2009
1 parent 07613ba commit fc436d9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/gpu/drm/radeon/radeon_atombios.c
Original file line number Diff line number Diff line change
Expand Up @@ -835,7 +835,6 @@ radeon_atombios_get_primary_dac_info(struct radeon_encoder *encoder)
struct _COMPASSIONATE_DATA *dac_info;
uint8_t frev, crev;
uint8_t bg, dac;
int i;
struct radeon_encoder_primary_dac *p_dac = NULL;

atom_parse_data_header(mode_info->atom_context, index, NULL, &frev, &crev, &data_offset);
Expand Down Expand Up @@ -867,7 +866,6 @@ radeon_atombios_get_tv_dac_info(struct radeon_encoder *encoder)
struct _COMPASSIONATE_DATA *dac_info;
uint8_t frev, crev;
uint8_t bg, dac;
int i;
struct radeon_encoder_tv_dac *tv_dac = NULL;

atom_parse_data_header(mode_info->atom_context, index, NULL, &frev, &crev, &data_offset);
Expand Down

0 comments on commit fc436d9

Please sign in to comment.