From 3f92c42b372f465caab2ddae6bef754bed6d7c57 Mon Sep 17 00:00:00 2001 From: phk Date: Sat, 6 May 1995 03:28:32 +0000 Subject: General sanitation and cleanup. Killed the "reserved" type, it wasn't. --- lib/libdisk/rules.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'lib/libdisk/rules.c') diff --git a/lib/libdisk/rules.c b/lib/libdisk/rules.c index 39d54ff..6bd46a4 100644 --- a/lib/libdisk/rules.c +++ b/lib/libdisk/rules.c @@ -6,7 +6,7 @@ * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp * ---------------------------------------------------------------------------- * - * $Id: rules.c,v 1.6 1995/05/04 07:00:56 phk Exp $ + * $Id: rules.c,v 1.7 1995/05/05 07:07:45 phk Exp $ * */ @@ -87,7 +87,6 @@ Rule_000(struct disk *d, struct chunk *c, char *msg) return; for (c1=c->part; c1; c1=c1->next) { if (c1->type != unused) continue; - if (c1->type != reserved) continue; if (c1->flags & CHUNK_ACTIVE) j++; i++; @@ -115,10 +114,7 @@ Rule_001(struct disk *d, struct chunk *c, char *msg) if (c->type != whole && c->type != extended) return; for (i=0, c1=c->part; c1; c1=c1->next) { - if (c1->type == reserved) - continue; - if (c1->type == unused) - continue; + if (c1->type == unused) continue; c1->flags |= CHUNK_ALIGN; if (!Track_Aligned(d,c1->offset)) sprintf(msg+strlen(msg), -- cgit v1.1