[libvirt PATCH 7/9] virt-admin: remove unused VIRT_ADMIN_TIME_BUFLEN

Ján Tomko jtomko at redhat.com
Tue Jul 28 11:54:26 UTC 2020


The switch to GDateTime removed the last use.

Signed-off-by: Ján Tomko <jtomko at redhat.com>
Fixes: 3caa28dc50df7ec215713075d669b20bef6473a2
---
 tools/virt-admin.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/tools/virt-admin.c b/tools/virt-admin.c
index fef0332a0d..cc136397bd 100644
--- a/tools/virt-admin.c
+++ b/tools/virt-admin.c
@@ -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[];
-- 
2.26.2




More information about the libvir-list mailing list