part: Drop unused list_volumes() function
diff --git a/common/lib/part.c b/common/lib/part.c
deleted file mode 100644
index 647db2c5..00000000
--- a/common/lib/part.c
+++ /dev/null
@@ -1,22 +0,0 @@
-#include <stddef.h>
-#include <lib/part.h>
-#include <lib/print.h>
-#include <lib/getchar.h>
-
-void list_volumes(void) {
- for (size_t i = 0; i < volume_index_i; i++) {
- struct volume *v = volume_index[i];
- print("index: %u\n", v->index);
- print("is_optical: %u\n", v->is_optical);
- print("partition: %u\n", v->partition);
- print("fslabel: %s\n", v->fslabel);
- print("sector_size: %u\n", v->sector_size);
- print("max_partition: %d\n", v->max_partition);
- print("first_sect: %U\n", v->first_sect);
- print("sect_count: %U\n", v->sect_count);
- if (i < volume_index_i - 1) {
- print("--- Press a key to continue ---\n");
- getchar();
- }
- }
-}
diff --git a/common/lib/part.h b/common/lib/part.h
index 7a2073cd..ea80e082 100644
--- a/common/lib/part.h
+++ b/common/lib/part.h
@@ -60,7 +60,6 @@ struct volume {
char *fslabel;
};
-void list_volumes(void);
bool is_valid_mbr(struct volume *volume);
extern struct volume **volume_index;
