diff options
author | Adam Jackson <ajax@redhat.com> | 2009-09-18 17:08:24 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2009-09-18 17:08:24 -0400 |
commit | b2c938bf08daec061341deec768135846f702f7a (patch) | |
tree | b8a3bd22232322f56737f63e355be7a54ff0e753 | |
parent | 55f585a15f42ffe028ff37ea1f63543795dbf56e (diff) | |
download | xorg-driver-xf86-video-vesa-b2c938bf08daec061341deec768135846f702f7a.tar.gz |
Remove unused variable.
-rw-r--r-- | src/vesa.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -873,7 +873,6 @@ VESAScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv) VisualPtr visual; VbeModeInfoBlock *mode; int flags; - int init_picture = 0; if ((pVesa->pVbe = VBEExtendedInit(NULL, pVesa->pEnt->index, SET_BIOS_SCRATCH @@ -965,7 +964,6 @@ VESAScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv) pScrn->xDpi, pScrn->yDpi, pScrn->displayWidth, pScrn->bitsPerPixel)) return (FALSE); - init_picture = 1; break; default: xf86DrvMsg(pScrn->scrnIndex, X_ERROR, @@ -996,8 +994,7 @@ VESAScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv) } /* must be after RGB ordering fixed */ - if (init_picture) - fbPictureInit(pScreen, 0, 0); + fbPictureInit(pScreen, 0, 0); if (pVesa->shadowFB) { if (pVesa->mapPhys == 0xa0000) { /* Windowed */ |