diff --git a/lib/libdisk/create_chunk.c b/lib/libdisk/create_chunk.c index 5efe0d9447e2..bc0acb0863a6 100644 --- a/lib/libdisk/create_chunk.c +++ b/lib/libdisk/create_chunk.c @@ -233,20 +233,3 @@ Create_Chunk_DWIM(struct disk *d, const struct chunk *parent , u_long size, chun /* barfout(1, "Serious internal trouble"); */ return 0; } - -int -MakeDevChunk(const struct chunk *c1, const char *path) -{ - - if (c1->next) - MakeDevChunk(c1->next, path); - if (c1->part) - MakeDevChunk(c1->part, path); - return 1; -} - -int -MakeDevDisk(struct disk *d, const char *path) -{ - return MakeDevChunk(d->chunks, path); -} diff --git a/lib/libdisk/libdisk.h b/lib/libdisk/libdisk.h index 8790e7d3305e..bf0d2630d845 100644 --- a/lib/libdisk/libdisk.h +++ b/lib/libdisk/libdisk.h @@ -238,13 +238,6 @@ Create_Chunk_DWIM(struct disk *d, const struct chunk *parent , u_long size, * enough is used. */ -int -MakeDev(struct chunk *c, const char *path); - -int -MakeDevDisk(struct disk *d, const char *path); -/* Make device nodes for all chunks on this disk */ - char * ShowChunkFlags(struct chunk *c); /* Return string to show flags. */