Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 May 2011 06:46:07 +0000 (UTC)
From:      "Andrey V. Elsukov" <ae@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r222244 - head/sys/geom/part
Message-ID:  <201105240646.p4O6k7Tq055712@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ae
Date: Tue May 24 06:46:07 2011
New Revision: 222244
URL: http://svn.freebsd.org/changeset/base/222244

Log:
  Remove unused variable.
  
  MFC after:	1 week

Modified:
  head/sys/geom/part/g_part_pc98.c

Modified: head/sys/geom/part/g_part_pc98.c
==============================================================================
--- head/sys/geom/part/g_part_pc98.c	Tue May 24 06:44:16 2011	(r222243)
+++ head/sys/geom/part/g_part_pc98.c	Tue May 24 06:46:07 2011	(r222244)
@@ -246,14 +246,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 < BOOTSIZE)
 		return (ENOSPC);
 	if (pp->sectorsize > SECSIZE)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105240646.p4O6k7Tq055712>