From 99df125e1048d9d09cfb68ce54725a089bacc140 Mon Sep 17 00:00:00 2001 From: Sergey Bugaev Date: Thu, 5 Aug 2021 17:57:45 +0300 Subject: eth-multiplexer: Use ports_request_dead_name_notification () --- eth-multiplexer/multiplexer.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'eth-multiplexer/multiplexer.c') 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), ¬ify_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"); -- cgit v1.2.3