diff options
author | Dave Airlie <airlied@redhat.com> | 2009-06-18 20:22:21 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-06-18 20:22:21 -0400 |
commit | fc436d9d3720b382566e03bef2d7391a58714999 (patch) | |
tree | 1a99068297def686af7f5e73f6d45d274eb2c2d2 /drivers/gpu | |
parent | 07613ba2f464f59949266f4337b75b91eb610795 (diff) |
drm/radeon: fix unused variables warning
just remove i variable left over from previous code.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_atombios.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_atombios.c b/drivers/gpu/drm/radeon/radeon_atombios.c index 786632d3e378..1f5a1a490984 100644 --- a/drivers/gpu/drm/radeon/radeon_atombios.c +++ b/drivers/gpu/drm/radeon/radeon_atombios.c | |||
@@ -835,7 +835,6 @@ radeon_atombios_get_primary_dac_info(struct radeon_encoder *encoder) | |||
835 | struct _COMPASSIONATE_DATA *dac_info; | 835 | struct _COMPASSIONATE_DATA *dac_info; |
836 | uint8_t frev, crev; | 836 | uint8_t frev, crev; |
837 | uint8_t bg, dac; | 837 | uint8_t bg, dac; |
838 | int i; | ||
839 | struct radeon_encoder_primary_dac *p_dac = NULL; | 838 | struct radeon_encoder_primary_dac *p_dac = NULL; |
840 | 839 | ||
841 | atom_parse_data_header(mode_info->atom_context, index, NULL, &frev, &crev, &data_offset); | 840 | atom_parse_data_header(mode_info->atom_context, index, NULL, &frev, &crev, &data_offset); |
@@ -867,7 +866,6 @@ radeon_atombios_get_tv_dac_info(struct radeon_encoder *encoder) | |||
867 | struct _COMPASSIONATE_DATA *dac_info; | 866 | struct _COMPASSIONATE_DATA *dac_info; |
868 | uint8_t frev, crev; | 867 | uint8_t frev, crev; |
869 | uint8_t bg, dac; | 868 | uint8_t bg, dac; |
870 | int i; | ||
871 | struct radeon_encoder_tv_dac *tv_dac = NULL; | 869 | struct radeon_encoder_tv_dac *tv_dac = NULL; |
872 | 870 | ||
873 | atom_parse_data_header(mode_info->atom_context, index, NULL, &frev, &crev, &data_offset); | 871 | atom_parse_data_header(mode_info->atom_context, index, NULL, &frev, &crev, &data_offset); |