]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
virt-admin: remove unused VIRT_ADMIN_TIME_BUFLEN
authorJán Tomko <jtomko@redhat.com>
Mon, 27 Jul 2020 23:40:27 +0000 (01:40 +0200)
committerJán Tomko <jtomko@redhat.com>
Mon, 3 Aug 2020 05:23:45 +0000 (07:23 +0200)
The switch to GDateTime removed the last use.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Fixes: 3caa28dc50df7ec215713075d669b20bef6473a2
Reviewed-by: Jonathon Jongsma <jjongsma@redhat.com>
tools/virt-admin.c

index fef0332a0d3cc99b3252fe9ccd66bc79e896b8da..cc136397bdd8a710e78101360934ca0919923642 100644 (file)
@@ -42,9 +42,6 @@
 
 #define VIRT_ADMIN_PROMPT "virt-admin # "
 
-/* we don't need precision to milliseconds in this module */
-#define VIRT_ADMIN_TIME_BUFLEN VIR_TIME_STRING_BUFLEN - 3
-
 static char *progname;
 
 static const vshCmdGrp cmdGroups[];