Skip to content

Commit

Permalink
util/uuid: Remove UUID_FMT_LEN
Browse files Browse the repository at this point in the history
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 4ef9d97)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
  • Loading branch information
legoater authored and Michael Tokarev committed Nov 9, 2023
1 parent 47c408b commit 5f0083a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions include/qemu/uuid.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 5f0083a

Please sign in to comment.