chiark / gitweb /
volume_id: remove unused usage types
authorKay Sievers <kay.sievers@vrfy.org>
Fri, 21 Nov 2008 03:22:04 +0000 (04:22 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Fri, 21 Nov 2008 03:22:04 +0000 (04:22 +0100)
extras/volume_id/lib/libvolume_id-private.h
extras/volume_id/lib/util.c

index 1b4a782..8a5c327 100644 (file)
@@ -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,
 };
 
index 671f97e..9844e5e 100644 (file)
@@ -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";
        }