diff options
-rw-r--r-- | eth-multiplexer/vdev.c | 7 | ||||
-rw-r--r-- | eth-multiplexer/vdev.h | 1 |
2 files changed, 0 insertions, 8 deletions
diff --git a/eth-multiplexer/vdev.c b/eth-multiplexer/vdev.c index 9a1f7b2e..d6a17fb3 100644 --- a/eth-multiplexer/vdev.c +++ b/eth-multiplexer/vdev.c @@ -194,13 +194,6 @@ destroy_vdev (void *port) destroy_filters (&vdev->port_list); } -/* Test if there are devices existing in the list */ -int -has_vdev () -{ - return dev_head != NULL; -} - /* Broadcast the packet to all virtual interfaces * except the one the packet is from */ int diff --git a/eth-multiplexer/vdev.h b/eth-multiplexer/vdev.h index 3c3c320f..6affaca1 100644 --- a/eth-multiplexer/vdev.h +++ b/eth-multiplexer/vdev.h @@ -67,7 +67,6 @@ struct vether_device *add_vdev (char *name, int size, struct port_class *class, struct port_bucket *bucket); void destroy_vdev (void *port); -int has_vdev (); int deliver_msg (struct net_rcv_msg *msg, struct vether_device *vdev); int deliver_pack (char *data, int datalen, struct vether_device *vdev); boolean_t all_dev_close (); |