[PATCH] xfree86: parser: Remove 'CUSTOM' flag option in Monitor section.

Jesse Adkins jesserayadkins at gmail.com
Wed Nov 10 18:42:58 PST 2010


Not used in the initial import, and also not documented.

Signed-off-by: Jesse Adkins <jesserayadkins at gmail.com>
Reviewed-by: Adam Jackson <ajax at redhat.com>
---
 hw/xfree86/parser/Monitor.c    |    7 -------
 hw/xfree86/parser/xf86Parser.h |    1 -
 hw/xfree86/parser/xf86tokens.h |    1 -
 3 files changed, 0 insertions(+), 9 deletions(-)

diff --git a/hw/xfree86/parser/Monitor.c b/hw/xfree86/parser/Monitor.c
index 76c35ae..970406d 100644
--- a/hw/xfree86/parser/Monitor.c
+++ b/hw/xfree86/parser/Monitor.c
@@ -105,7 +105,6 @@ static xf86ConfigSymTabRec TimingTab[] =
 	{TT_HSKEW, "hskew"},
 	{TT_BCAST, "bcast"},
 	{TT_VSCAN, "vscan"},
-	{TT_CUSTOM, "CUSTOM"},
 	{-1, ""},
 };
 
@@ -247,9 +246,6 @@ xf86parseModeLine (void)
 			ptr->ml_vscan = val.num;
 			ptr->ml_flags |= XF86CONF_VSCAN;
 			break;
-		case TT_CUSTOM:
-			ptr->ml_flags |= XF86CONF_CUSTOM;
-			break;
 		case EOF_TOKEN:
 			Error (UNEXPECTED_EOF_MSG, NULL);
 			break;
@@ -370,9 +366,6 @@ xf86parseVerboseMode (void)
 				case TT_DBLSCAN:
 					ptr->ml_flags |= XF86CONF_DBLSCAN;
 					break;
-				case TT_CUSTOM:
-					ptr->ml_flags |= XF86CONF_CUSTOM;
-					break;
 				case EOF_TOKEN:
 					Error (UNEXPECTED_EOF_MSG, NULL);
 					break;
diff --git a/hw/xfree86/parser/xf86Parser.h b/hw/xfree86/parser/xf86Parser.h
index 337ad07..302ec6c 100644
--- a/hw/xfree86/parser/xf86Parser.h
+++ b/hw/xfree86/parser/xf86Parser.h
@@ -119,7 +119,6 @@ XF86ConfModuleRec, *XF86ConfModulePtr;
 #define XF86CONF_NCSYNC    0x0100
 #define XF86CONF_HSKEW     0x0200	/* hskew provided */
 #define XF86CONF_BCAST     0x0400
-#define XF86CONF_CUSTOM    0x0800	/* timing numbers customized by editor */
 #define XF86CONF_VSCAN     0x1000
 
 typedef struct
diff --git a/hw/xfree86/parser/xf86tokens.h b/hw/xfree86/parser/xf86tokens.h
index c16a8f5..8c80495 100644
--- a/hw/xfree86/parser/xf86tokens.h
+++ b/hw/xfree86/parser/xf86tokens.h
@@ -165,7 +165,6 @@ typedef enum {
     TT_HSKEW,
     TT_BCAST,
     TT_VSCAN,
-    TT_CUSTOM,
 
     /* Module tokens */
     LOAD,
-- 
1.7.0.4



More information about the xorg-devel mailing list