diff options
author | Justus Winter <justus@gnupg.org> | 2017-09-21 12:24:05 +0200 |
---|---|---|
committer | Justus Winter <justus@gnupg.org> | 2017-09-25 13:06:10 +0200 |
commit | a0ff0a992dbcd1ed9d67e96d895555671db977d9 (patch) | |
tree | d06b48d8b5e9d642f40ae82741a10c3dc2e59889 /eth-multiplexer | |
parent | 21c123402ef4fec7b9ca8e31017f1a003305e9a1 (diff) | |
download | hurd-a0ff0a992dbcd1ed9d67e96d895555671db977d9.tar.gz hurd-a0ff0a992dbcd1ed9d67e96d895555671db977d9.tar.bz2 hurd-a0ff0a992dbcd1ed9d67e96d895555671db977d9.zip |
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.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 (); |