summaryrefslogtreecommitdiff
path: root/console-client
diff options
context:
space:
mode:
Diffstat (limited to 'console-client')
-rw-r--r--console-client/trans.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/console-client/trans.c b/console-client/trans.c
index 6949af5e..8219f970 100644
--- a/console-client/trans.c
+++ b/console-client/trans.c
@@ -844,7 +844,6 @@ console_unregister_consnode (consnode_t cn)
error_t
console_setup_node (char *path)
{
- mach_port_t underlying;
mach_port_t bootstrap;
error_t err;
struct stat ul_stat;
@@ -874,7 +873,6 @@ console_setup_node (char *path)
err = file_set_translator (node, 0, FS_TRANS_EXCL | FS_TRANS_SET, 0, 0, 0,
right, MACH_MSG_TYPE_COPY_SEND);
mach_port_deallocate (mach_task_self (), right);
- underlying = node;
err = io_stat (node, &ul_stat);
if (err)