summaryrefslogtreecommitdiff
path: root/eth-multiplexer
diff options
context:
space:
mode:
authorJustus Winter <justus@gnupg.org>2017-09-21 12:24:05 +0200
committerJustus Winter <justus@gnupg.org>2017-09-25 13:06:10 +0200
commita0ff0a992dbcd1ed9d67e96d895555671db977d9 (patch)
treed06b48d8b5e9d642f40ae82741a10c3dc2e59889 /eth-multiplexer
parent21c123402ef4fec7b9ca8e31017f1a003305e9a1 (diff)
eth-multiplexer: Remove unused function.
* eth-multiplexer/vdev.c (has_vdev): Drop function. * eth-multiplexer/vdev.h (has_vdev): Drop declaration.
Diffstat (limited to 'eth-multiplexer')
-rw-r--r--eth-multiplexer/vdev.c7
-rw-r--r--eth-multiplexer/vdev.h1
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 ();