summaryrefslogtreecommitdiff
path: root/extras/volume_id/lib
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-11-21 04:22:04 +0100
committerKay Sievers <kay.sievers@vrfy.org>2008-11-21 04:22:04 +0100
commit2b22881cae4194e453766036300098fa19ccc1e6 (patch)
tree1ba6ea112cf526264410e6c892c38af91f4839af /extras/volume_id/lib
parent28673dd75c912fca8cfb7ddb3f7c5182fbf3b406 (diff)
volume_id: remove unused usage types
Diffstat (limited to 'extras/volume_id/lib')
-rw-r--r--extras/volume_id/lib/libvolume_id-private.h2
-rw-r--r--extras/volume_id/lib/util.c4
2 files changed, 0 insertions, 6 deletions
diff --git a/extras/volume_id/lib/libvolume_id-private.h b/extras/volume_id/lib/libvolume_id-private.h
index 1b4a782b65..8a5c327aea 100644
--- a/extras/volume_id/lib/libvolume_id-private.h
+++ b/extras/volume_id/lib/libvolume_id-private.h
@@ -94,11 +94,9 @@ enum endian {
enum volume_id_usage {
VOLUME_ID_UNUSED,
- VOLUME_ID_UNPROBED,
VOLUME_ID_OTHER,
VOLUME_ID_FILESYSTEM,
VOLUME_ID_RAID,
- VOLUME_ID_DISKLABEL,
VOLUME_ID_CRYPTO,
};
diff --git a/extras/volume_id/lib/util.c b/extras/volume_id/lib/util.c
index 671f97ee27..9844e5e97c 100644
--- a/extras/volume_id/lib/util.c
+++ b/extras/volume_id/lib/util.c
@@ -200,12 +200,8 @@ static char *usage_to_string(enum volume_id_usage usage_id)
return "other";
case VOLUME_ID_RAID:
return "raid";
- case VOLUME_ID_DISKLABEL:
- return "disklabel";
case VOLUME_ID_CRYPTO:
return "crypto";
- case VOLUME_ID_UNPROBED:
- return "unprobed";
case VOLUME_ID_UNUSED:
return "unused";
}