diff options
author | Justus Winter <justus@gnupg.org> | 2016-10-05 13:59:01 +0200 |
---|---|---|
committer | Justus Winter <justus@gnupg.org> | 2016-10-09 22:05:17 +0200 |
commit | 2c0f4a09a5166bf777ce4648dda2d671cc464b14 (patch) | |
tree | 5ca85380c3dda361b6eba7692eddb43a9329c4f1 /console-client | |
parent | 93ba74df1d6523ac49d5b227e30e1cfca930f7a9 (diff) |
console-client: Remove unused variable.
* console-client/trans.c (console_setup_node): Remove 'bootstrap'.
Diffstat (limited to 'console-client')
-rw-r--r-- | console-client/trans.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/console-client/trans.c b/console-client/trans.c index 224229e0..4b9c92b9 100644 --- a/console-client/trans.c +++ b/console-client/trans.c @@ -865,7 +865,6 @@ console_unregister_consnode (consnode_t cn) error_t console_setup_node (char *path) { - mach_port_t bootstrap; error_t err; struct stat ul_stat; file_t node; @@ -876,8 +875,7 @@ console_setup_node (char *path) node = file_name_lookup (path, O_CREAT|O_NOTRANS, 0664); if (node == MACH_PORT_NULL) return errno; - - task_get_bootstrap_port (mach_task_self (), &bootstrap); + netfs_init (); /* Create the root node (some attributes initialized below). */ |