From 8e6c8deb4311881383aec4a09b525827f43cc96d Mon Sep 17 00:00:00 2001 From: pjd Date: Fri, 20 Jan 2012 21:45:24 +0000 Subject: Remove unused token 'port'. MFC after: 3 days --- sbin/hastd/parse.y | 2 +- sbin/hastd/token.l | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'sbin/hastd') diff --git a/sbin/hastd/parse.y b/sbin/hastd/parse.y index 72d24b4..3a80e26 100644 --- a/sbin/hastd/parse.y +++ b/sbin/hastd/parse.y @@ -369,7 +369,7 @@ yy_config_free(struct hastd_config *config) } %} -%token CONTROL PIDFILE LISTEN PORT REPLICATION CHECKSUM COMPRESSION METAFLUSH +%token CONTROL PIDFILE LISTEN REPLICATION CHECKSUM COMPRESSION METAFLUSH %token TIMEOUT EXEC EXTENTSIZE RESOURCE NAME LOCAL REMOTE SOURCE ON OFF %token FULLSYNC MEMSYNC ASYNC NONE CRC32 SHA256 HOLE LZF %token NUM STR OB CB diff --git a/sbin/hastd/token.l b/sbin/hastd/token.l index 35889c2..38bf8d6 100644 --- a/sbin/hastd/token.l +++ b/sbin/hastd/token.l @@ -51,7 +51,6 @@ int lineno; control { DP; return CONTROL; } pidfile { DP; return PIDFILE; } listen { DP; return LISTEN; } -port { DP; return PORT; } replication { DP; return REPLICATION; } checksum { DP; return CHECKSUM; } compression { DP; return COMPRESSION; } -- cgit v1.1