summaryrefslogtreecommitdiffstats
path: root/sbin/hastd
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2012-01-20 21:45:24 +0000
committerpjd <pjd@FreeBSD.org>2012-01-20 21:45:24 +0000
commit8e6c8deb4311881383aec4a09b525827f43cc96d (patch)
treec4a35bb8493ed3f84030e611611c9c4f924f69ae /sbin/hastd
parentf75e35e4d7093d1f4cb56a1be3733e67271df618 (diff)
downloadFreeBSD-src-8e6c8deb4311881383aec4a09b525827f43cc96d.zip
FreeBSD-src-8e6c8deb4311881383aec4a09b525827f43cc96d.tar.gz
Remove unused token 'port'.
MFC after: 3 days
Diffstat (limited to 'sbin/hastd')
-rw-r--r--sbin/hastd/parse.y2
-rw-r--r--sbin/hastd/token.l1
2 files changed, 1 insertions, 2 deletions
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; }
OpenPOWER on IntegriCloud