From 3ebe1109348f53f64b395293578416abedef4090 Mon Sep 17 00:00:00 2001 From: Robert Wing Date: Thu, 17 Mar 2022 21:55:52 -0800 Subject: [PATCH] bhyve: sweep MAX_VMNAME MAX_VMNAME is no longer used. Reviewed by: jhb Differential Revision: https://reviews.freebsd.org/D34292 --- usr.sbin/bhyve/snapshot.c | 2 -- usr.sbin/bhyvectl/bhyvectl.c | 2 -- 2 files changed, 4 deletions(-) diff --git a/usr.sbin/bhyve/snapshot.c b/usr.sbin/bhyve/snapshot.c index 585fc2bc6f47..7b72aaf765bd 100644 --- a/usr.sbin/bhyve/snapshot.c +++ b/usr.sbin/bhyve/snapshot.c @@ -116,8 +116,6 @@ static sig_t old_winch_handler; #define SNAPSHOT_CHUNK (4 * MB) #define PROG_BUF_SZ (8192) -#define MAX_VMNAME 100 - #define SNAPSHOT_BUFFER_SIZE (20 * MB) #define JSON_STRUCT_ARR_KEY "structs" diff --git a/usr.sbin/bhyvectl/bhyvectl.c b/usr.sbin/bhyvectl/bhyvectl.c index e4de6da1803c..06ab05cd48e1 100644 --- a/usr.sbin/bhyvectl/bhyvectl.c +++ b/usr.sbin/bhyvectl/bhyvectl.c @@ -74,8 +74,6 @@ __FBSDID("$FreeBSD$"); #define NO_ARG no_argument #define OPT_ARG optional_argument -#define MAX_VMNAME 100 - static const char *progname; static void