commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[hurd] 03/10: eth-multiplexer: Remove unused function.


From: Samuel Thibault
Subject: [hurd] 03/10: eth-multiplexer: Remove unused function.
Date: Sun, 19 Nov 2017 15:27:17 +0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch upstream
in repository hurd.

commit a0ff0a992dbcd1ed9d67e96d895555671db977d9
Author: Justus Winter <address@hidden>
Date:   Thu Sep 21 12:24:05 2017 +0200

    eth-multiplexer: Remove unused function.
    
    * eth-multiplexer/vdev.c (has_vdev): Drop function.
    * eth-multiplexer/vdev.h (has_vdev): Drop declaration.
---
 eth-multiplexer/vdev.c | 7 -------
 eth-multiplexer/vdev.h | 1 -
 2 files changed, 8 deletions(-)

diff --git a/eth-multiplexer/vdev.c b/eth-multiplexer/vdev.c
index 9a1f7b2..d6a17fb 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 3c3c320..6affaca 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 ();

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/hurd.git



reply via email to

[Prev in Thread] Current Thread [Next in Thread]