Signed-off-by: Xavier Bachelot <xav...@bachelot.org>
---
 src/via_lvds.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/via_lvds.c b/src/via_lvds.c
index 954837a..c78390c 100644
--- a/src/via_lvds.c
+++ b/src/via_lvds.c
@@ -632,8 +632,6 @@ static int
 via_lvds_mode_valid(xf86OutputPtr output, DisplayModePtr pMode)
 {
     ScrnInfoPtr pScrn = output->scrn;
-    VIAPtr pVia = VIAPTR(pScrn);
-
     ViaPanelInfoPtr Panel = output->driver_private;
      if (Panel->NativeWidth < pMode->HDisplay ||
@@ -1101,7 +1099,6 @@ via_lvds_init(ScrnInfoPtr pScrn)
     ViaPanelInfoPtr Panel = (ViaPanelInfoPtr)
xnfcalloc(sizeof(ViaPanelInfoRec), 1);
     OptionInfoPtr  Options = xnfalloc(sizeof(ViaPanelOptions));
     MessageType from = X_DEFAULT;
-    const char *s = NULL;
     VIAPtr pVia = VIAPTR(pScrn);
     xf86OutputPtr output = NULL;
     vgaHWPtr hwp = VGAHWPTR(pScrn);
-- 
2.7.4


_______________________________________________
Openchrome-devel mailing list
Openchrome-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/openchrome-devel

Reply via email to