From owner-svn-src-stable-8@FreeBSD.ORG Tue May 31 05:00:46 2011 Return-Path: Delivered-To: svn-src-stable-8@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 270C5106564A; Tue, 31 May 2011 05:00:46 +0000 (UTC) (envelope-from ae@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 163128FC17; Tue, 31 May 2011 05:00:46 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id p4V50js1008232; Tue, 31 May 2011 05:00:45 GMT (envelope-from ae@svn.freebsd.org) Received: (from ae@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id p4V50jcH008229; Tue, 31 May 2011 05:00:45 GMT (envelope-from ae@svn.freebsd.org) Message-Id: <201105310500.p4V50jcH008229@svn.freebsd.org> From: "Andrey V. Elsukov" Date: Tue, 31 May 2011 05:00:45 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r222517 - stable/8/sys/geom/part X-BeenThere: svn-src-stable-8@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for only the 8-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 May 2011 05:00:46 -0000 Author: ae Date: Tue May 31 05:00:45 2011 New Revision: 222517 URL: http://svn.freebsd.org/changeset/base/222517 Log: MFC r222243,222244: Remove unused variable. Modified: stable/8/sys/geom/part/g_part_mbr.c stable/8/sys/geom/part/g_part_pc98.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) Modified: stable/8/sys/geom/part/g_part_mbr.c ============================================================================== --- stable/8/sys/geom/part/g_part_mbr.c Tue May 31 01:30:58 2011 (r222516) +++ stable/8/sys/geom/part/g_part_mbr.c Tue May 31 05:00:45 2011 (r222517) @@ -248,14 +248,11 @@ g_part_mbr_bootcode(struct g_part_table static int g_part_mbr_create(struct g_part_table *basetable, struct g_part_parms *gpp) { - struct g_consumer *cp; struct g_provider *pp; struct g_part_mbr_table *table; uint32_t msize; pp = gpp->gpp_provider; - cp = LIST_FIRST(&pp->consumers); - if (pp->sectorsize < MBRSIZE) return (ENOSPC); Modified: stable/8/sys/geom/part/g_part_pc98.c ============================================================================== --- stable/8/sys/geom/part/g_part_pc98.c Tue May 31 01:30:58 2011 (r222516) +++ stable/8/sys/geom/part/g_part_pc98.c Tue May 31 05:00:45 2011 (r222517) @@ -218,14 +218,11 @@ g_part_pc98_bootcode(struct g_part_table static int g_part_pc98_create(struct g_part_table *basetable, struct g_part_parms *gpp) { - struct g_consumer *cp; struct g_provider *pp; struct g_part_pc98_table *table; uint32_t cyl, msize; pp = gpp->gpp_provider; - cp = LIST_FIRST(&pp->consumers); - if (pp->sectorsize < SECSIZE || pp->mediasize < 2 * SECSIZE) return (ENOSPC); if (pp->sectorsize > SECSIZE)