summaryrefslogtreecommitdiff
path: root/usr/src/cmd/bhyve/rfb.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/bhyve/rfb.c')
-rw-r--r--usr/src/cmd/bhyve/rfb.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/usr/src/cmd/bhyve/rfb.c b/usr/src/cmd/bhyve/rfb.c
index d96b45c5da..e8c74766fe 100644
--- a/usr/src/cmd/bhyve/rfb.c
+++ b/usr/src/cmd/bhyve/rfb.c
@@ -874,15 +874,8 @@ rfb_handle(struct rfb_softc *rc, int cfd)
rfb_send_screen(rc, cfd, 1);
perror = pthread_create(&tid, NULL, rfb_wr_thr, rc);
-#ifdef __FreeBSD__
if (perror == 0)
pthread_set_name_np(tid, "rfbout");
-#else
- /*
- * While pthread_set_name_np() remains a no-op, skip this to avoid
- * compiler warnings about an empty if-statement.
- */
-#endif
/* Now read in client requests. 1st byte identifies type */
for (;;) {