aboutsummaryrefslogtreecommitdiff
path: root/eth-multiplexer/device_impl.c
diff options
context:
space:
mode:
Diffstat (limited to 'eth-multiplexer/device_impl.c')
-rw-r--r--eth-multiplexer/device_impl.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/eth-multiplexer/device_impl.c b/eth-multiplexer/device_impl.c
index d7c8beeb..3be4fb5c 100644
--- a/eth-multiplexer/device_impl.c
+++ b/eth-multiplexer/device_impl.c
@@ -33,9 +33,6 @@
#include "netfs_impl.h"
#include "util.h"
-extern struct port_bucket *port_bucket;
-extern struct port_class *vdev_portclass;
-extern struct port_class *other_portclass;
extern struct port_info *notify_pi;
/* Implementation of device interface */
@@ -60,15 +57,11 @@ ds_device_open (mach_port_t master_port, mach_port_t reply_port,
* create it now. */
if (pi->po->np->nn->ln == NULL)
{
- extern struct port_bucket *port_bucket;
- extern struct port_class *vdev_portclass;
extern struct stat underlying_node_stat;
static int ino_count = 0;
/* Create a new light node (virtual device). */
struct lnode *ln = (struct lnode *) add_vdev (pi->po->np->nn->name,
- sizeof (*ln),
- vdev_portclass,
- port_bucket);
+ sizeof (*ln));
if (ln == NULL)
{
ports_port_deref (pi);