diff options
author | Cédric Le Goater <clg@redhat.com> | 2023-10-26 09:06:36 +0200 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2023-11-09 16:39:13 +0300 |
commit | 5f0083a95d86e97f98e68c92e6e3aa06ce7e6c7f (patch) | |
tree | 565627aba7f4a76dbe45cf85954a1c174fa6d7a5 /include | |
parent | 47c408b80e2eb6b970df27970778a626229a6afb (diff) |
util/uuid: Remove UUID_FMT_LEN
Dangerous and now unused.
Cc: Fam Zheng <fam@euphon.net>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: "Denis V. Lunev" <den@openvz.org>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>
(cherry picked from commit 4ef9d97b1a37b8cfd152cc3ac5f9576e406868b1)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'include')
-rw-r--r-- | include/qemu/uuid.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/qemu/uuid.h b/include/qemu/uuid.h index 9e160d65aa..008926ab32 100644 --- a/include/qemu/uuid.h +++ b/include/qemu/uuid.h @@ -78,8 +78,7 @@ typedef struct { "%02hhx%02hhx-" \ "%02hhx%02hhx%02hhx%02hhx%02hhx%02hhx" -#define UUID_FMT_LEN 36 -#define UUID_STR_LEN (UUID_FMT_LEN + 1) +#define UUID_STR_LEN (36 + 1) #define UUID_NONE "00000000-0000-0000-0000-000000000000" |