Commit 58df32284e for qemu.org
commit 58df32284e1521f40c2763c41604f0ed22b4a1d3
Author: Marc-André Lureau <marcandre.lureau@redhat.com>
Date: Tue Apr 7 16:57:15 2026 +0400
ui/vnc: remove left-over dead code
Since commit 5994dcb8d85 ("ui, monitor: remove deprecated VNC ACL option
and HMP commands"), this field is no longer used.
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
diff --git a/ui/vnc.c b/ui/vnc.c
index 947ebd8947..ad8d58a23d 100644
--- a/ui/vnc.c
+++ b/ui/vnc.c
@@ -3491,10 +3491,6 @@ static void vnc_display_close(VncDisplay *vd)
object_unref(OBJECT(vd->tlscreds));
vd->tlscreds = NULL;
}
- if (vd->tlsauthz) {
- object_unparent(OBJECT(vd->tlsauthz));
- vd->tlsauthz = NULL;
- }
g_free(vd->tlsauthzid);
vd->tlsauthzid = NULL;
if (vd->lock_key_sync) {
diff --git a/ui/vnc.h b/ui/vnc.h
index 110c2bd460..472a55f7b5 100644
--- a/ui/vnc.h
+++ b/ui/vnc.h
@@ -178,7 +178,6 @@ struct VncDisplay
bool non_adaptive;
bool power_control;
QCryptoTLSCreds *tlscreds;
- QAuthZ *tlsauthz;
char *tlsauthzid;
#ifdef CONFIG_VNC_SASL
VncDisplaySASL sasl;