From owner-svn-src-all@FreeBSD.ORG Tue Sep 14 16:22:22 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ED97A1065679; Tue, 14 Sep 2010 16:22:22 +0000 (UTC) (envelope-from pjd@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id DCBC28FC22; Tue, 14 Sep 2010 16:22:22 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o8EGMMlg086326; Tue, 14 Sep 2010 16:22:22 GMT (envelope-from pjd@svn.freebsd.org) Received: (from pjd@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o8EGMMRP086323; Tue, 14 Sep 2010 16:22:22 GMT (envelope-from pjd@svn.freebsd.org) Message-Id: <201009141622.o8EGMMRP086323@svn.freebsd.org> From: Pawel Jakub Dawidek Date: Tue, 14 Sep 2010 16:22:22 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r212615 - head/sbin/geom/core X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Sep 2010 16:22:23 -0000 Author: pjd Date: Tue Sep 14 16:22:22 2010 New Revision: 212615 URL: http://svn.freebsd.org/changeset/base/212615 Log: Remove now unused G_TYPE_ASCNUM. Modified: head/sbin/geom/core/geom.c head/sbin/geom/core/geom.h Modified: head/sbin/geom/core/geom.c ============================================================================== --- head/sbin/geom/core/geom.c Tue Sep 14 16:21:13 2010 (r212614) +++ head/sbin/geom/core/geom.c Tue Sep 14 16:22:22 2010 (r212615) @@ -259,8 +259,7 @@ set_option(struct gctl_req *req, struct optname = opt->go_name; } - if (G_OPT_TYPE(opt) == G_TYPE_NUMBER || - G_OPT_TYPE(opt) == G_TYPE_ASCNUM) { + if (G_OPT_TYPE(opt) == G_TYPE_NUMBER) { if (expand_number(val, &number) == -1) { err(EXIT_FAILURE, "Invalid value for '%c' argument", opt->go_char); Modified: head/sbin/geom/core/geom.h ============================================================================== --- head/sbin/geom/core/geom.h Tue Sep 14 16:21:13 2010 (r212614) +++ head/sbin/geom/core/geom.h Tue Sep 14 16:22:22 2010 (r212615) @@ -38,7 +38,6 @@ #define G_TYPE_BOOL 0x01 #define G_TYPE_STRING 0x02 #define G_TYPE_NUMBER 0x03 -#define G_TYPE_ASCNUM 0x04 #define G_TYPE_MASK 0x0f #define G_TYPE_DONE 0x10 #define G_TYPE_MULTI 0x20