svn commit: r222244 - head/sys/geom/part
Andrey V. Elsukov
ae at FreeBSD.org
Tue May 24 06:46:08 UTC 2011
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)
More information about the svn-src-all
mailing list