summaryrefslogtreecommitdiff
path: root/src/g80_output.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/g80_output.c')
-rw-r--r--src/g80_output.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/g80_output.c b/src/g80_output.c
index 481dd85..b56bf00 100644
--- a/src/g80_output.c
+++ b/src/g80_output.c
@@ -236,7 +236,7 @@ G80CreateOutputs(ScrnInfoPtr pScrn)
{
G80Ptr pNv = G80PTR(pScrn);
xf86CrtcConfigPtr xf86_config = XF86_CRTC_CONFIG_PTR(pScrn);
- int i, count = 0;
+ int i;
if(!G80ReadPortMapping(pScrn->scrnIndex, pNv))
return FALSE;
@@ -252,7 +252,6 @@ G80CreateOutputs(ScrnInfoPtr pScrn)
/* For each output, set the crtc and clone masks */
for(i = 0; i < xf86_config->num_output; i++) {
xf86OutputPtr output = xf86_config->output[i];
- G80OutputPrivPtr pPriv = output->driver_private;
/* Any output can connect to any head */
output->possible_crtcs = 0x3;