[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 4/6] vnc.c: remove dead code
From: |
Paolo Bonzini |
Subject: |
[Qemu-devel] [PATCH 4/6] vnc.c: remove dead code |
Date: |
Wed, 27 Jan 2010 14:54:57 +0100 |
to= has always been handled by qemu-sockets.c's inet_listen, not by vnc.c.
Signed-off-by: Paolo Bonzini <address@hidden>
---
vnc.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/vnc.c b/vnc.c
index cc2a26e..69d6624 100644
--- a/vnc.c
+++ b/vnc.c
@@ -2535,7 +2535,6 @@ int vnc_display_open(DisplayState *ds, const char
*display)
const char *options;
int password = 0;
int reverse = 0;
- int to_port = 0;
#ifdef CONFIG_VNC_TLS
int tls = 0, x509 = 0;
#endif
@@ -2561,8 +2560,6 @@ int vnc_display_open(DisplayState *ds, const char
*display)
password = 1; /* Require password auth */
} else if (strncmp(options, "reverse", 7) == 0) {
reverse = 1;
- } else if (strncmp(options, "to=", 3) == 0) {
- to_port = atoi(options+3) + 5900;
#ifdef CONFIG_VNC_SASL
} else if (strncmp(options, "sasl", 4) == 0) {
sasl = 1; /* Require SASL auth */
--
1.6.6
- [Qemu-devel] [PATCH 0/6] fix a few clang warnings., Paolo Bonzini, 2010/01/27
- [Qemu-devel] [PATCH 1/6] remove two dead assignments in target-i386/translate.c, Paolo Bonzini, 2010/01/27
- [Qemu-devel] [PATCH 2/6] fix undefined shifts by >32, Paolo Bonzini, 2010/01/27
- [Qemu-devel] [PATCH 3/6] exec.c: dead assignments, Paolo Bonzini, 2010/01/27
- [Qemu-devel] [PATCH 4/6] vnc.c: remove dead code,
Paolo Bonzini <=
- [Qemu-devel] [PATCH 5/6] usb-linux.c: remove write-only variable, Paolo Bonzini, 2010/01/27
- [Qemu-devel] [PATCH 6/6] fix audio_bug related clang false positives, Paolo Bonzini, 2010/01/27