From 2b22881cae4194e453766036300098fa19ccc1e6 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Fri, 21 Nov 2008 04:22:04 +0100 Subject: [PATCH] volume_id: remove unused usage types --- extras/volume_id/lib/libvolume_id-private.h | 2 -- extras/volume_id/lib/util.c | 4 ---- 2 files changed, 6 deletions(-) diff --git a/extras/volume_id/lib/libvolume_id-private.h b/extras/volume_id/lib/libvolume_id-private.h index 1b4a782b..8a5c327a 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 671f97ee..9844e5e9 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"; } -- 2.39.5