aboutsummaryrefslogtreecommitdiff
path: root/eth-multiplexer/multiplexer.c
diff options
context:
space:
mode:
authorSergey Bugaev <bugaevc@gmail.com>2021-08-05 17:57:45 +0300
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2022-08-10 22:12:43 +0200
commit99df125e1048d9d09cfb68ce54725a089bacc140 (patch)
tree8e80e3105a99df200fc54d33629ddfb533bd6482 /eth-multiplexer/multiplexer.c
parenta239719cd41e2c409366570f84639fa4a322c88b (diff)
downloadhurd-99df125e1048d9d09cfb68ce54725a089bacc140.tar.gz
hurd-99df125e1048d9d09cfb68ce54725a089bacc140.tar.bz2
hurd-99df125e1048d9d09cfb68ce54725a089bacc140.zip
eth-multiplexer: Use ports_request_dead_name_notification ()
Diffstat (limited to 'eth-multiplexer/multiplexer.c')
-rw-r--r--eth-multiplexer/multiplexer.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/eth-multiplexer/multiplexer.c b/eth-multiplexer/multiplexer.c
index a08b9f71..4cd77a1e 100644
--- a/eth-multiplexer/multiplexer.c
+++ b/eth-multiplexer/multiplexer.c
@@ -66,7 +66,6 @@ static const struct argp_option options[] =
struct port_bucket *port_bucket;
struct port_class *other_portclass;
struct port_class *vdev_portclass;
-struct port_info *notify_pi;
int netfs_maxsymlinks = 12;
char *netfs_server_name = "multiplexer";
@@ -146,12 +145,6 @@ main (int argc, char *argv[])
other_portclass);
}
- /* Prepare for the notification. */
- err = ports_create_port (other_portclass, port_bucket,
- sizeof (struct port_info), &notify_pi);
- if (err)
- error (1, err, "ports_create_port for notification");
-
task_get_bootstrap_port (mach_task_self (), &bootstrap);
if (bootstrap == MACH_PORT_NULL)
error (1, 0, "must be started as a translator");