diff mbox

drm/radeon/kms/atom: minor fixes to transmitter setup

Message ID a728f9f91003291443x3a542275p9c350bb7e1c0388@mail.gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Alex Deucher March 29, 2010, 9:43 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/gpu/drm/radeon/radeon_encoders.c
b/drivers/gpu/drm/radeon/radeon_encoders.c
index 3330e11..6d6fbd1 100644
--- a/drivers/gpu/drm/radeon/radeon_encoders.c
+++ b/drivers/gpu/drm/radeon/radeon_encoders.c
@@ -708,7 +708,7 @@  atombios_dig_encoder_setup(struct drm_encoder
*encoder, int action)
 	struct radeon_connector_atom_dig *dig_connector =
 		radeon_get_atom_connector_priv_from_encoder(encoder);
 	union dig_encoder_control args;
-	int index = 0, num = 0;
+	int index = 0;
 	uint8_t frev, crev;