summaryrefslogtreecommitdiffstats
path: root/libfdisk/src/gpt.c
diff options
context:
space:
mode:
authorKarel Zak2017-09-15 13:25:32 +0200
committerKarel Zak2017-09-15 13:25:32 +0200
commit9f20d800799fb1b5104cd87f9c3c68c9b159491f (patch)
tree89509a047aeec9f377359f9ecf419c221705296f /libfdisk/src/gpt.c
parentlogger: make stdin parsing more friendly to static analyzers (diff)
downloadkernel-qcow2-util-linux-9f20d800799fb1b5104cd87f9c3c68c9b159491f.tar.gz
kernel-qcow2-util-linux-9f20d800799fb1b5104cd87f9c3c68c9b159491f.tar.xz
kernel-qcow2-util-linux-9f20d800799fb1b5104cd87f9c3c68c9b159491f.zip
misc: cleanup UUID_STR_LEN definitions
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libfdisk/src/gpt.c')
-rw-r--r--libfdisk/src/gpt.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libfdisk/src/gpt.c b/libfdisk/src/gpt.c
index 7134a36ce..26d04f1d8 100644
--- a/libfdisk/src/gpt.c
+++ b/libfdisk/src/gpt.c
@@ -286,10 +286,6 @@ static struct fdisk_parttype gpt_parttypes[] =
#define gpt_partition_start(_e) le64_to_cpu((_e)->lba_start)
#define gpt_partition_end(_e) le64_to_cpu((_e)->lba_end)
-#ifndef UUID_STR_LEN
-#define UUID_STR_LEN 37
-#endif
-
/*
* in-memory fdisk GPT stuff
*/