[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[hurd] 06/12: libmachdev: drop unused function
From: |
Samuel Thibault |
Subject: |
[hurd] 06/12: libmachdev: drop unused function |
Date: |
Wed, 10 Dec 2014 15:16:59 +0000 |
This is an automated email from the git hooks/post-receive script.
sthibault pushed a commit to branch dde
in repository hurd.
commit 9b9d03a427eae0be0c3a04629ea578f66a65152b
Author: Justus Winter <address@hidden>
Date: Tue Nov 25 12:57:29 2014 +0100
libmachdev: drop unused function
* libmachdev/ds_routines.c (mach_convert_device_to_port): Drop function.
---
libmachdev/ds_routines.c | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/libmachdev/ds_routines.c b/libmachdev/ds_routines.c
index 5287bf4..e9fbe94 100644
--- a/libmachdev/ds_routines.c
+++ b/libmachdev/ds_routines.c
@@ -87,16 +87,6 @@ boolean_t is_master_device (mach_port_t port);
* What follows is the interface for the native Mach devices.
*/
-static inline mach_port_t
-mach_convert_device_to_port (mach_device_t device)
-{
- if (device == NULL)
- return MACH_PORT_NULL;
-
- // TODO I have to somehow dereference it when it is called at the first time.
- return ports_get_right (device);
-}
-
/* Implementation of device interface */
io_return_t
ds_device_open (mach_port_t open_port, mach_port_t reply_port,
--
Alioth's /usr/local/bin/git-commit-notice on
/srv/git.debian.org/git/pkg-hurd/hurd.git
- [hurd] branch dde updated (607eaa3 -> 723ff43), Samuel Thibault, 2014/12/10
- [hurd] 08/12: libmachdev: fix size of `net_rcv_msg' message, Samuel Thibault, 2014/12/10
- [hurd] 06/12: libmachdev: drop unused function,
Samuel Thibault <=
- [hurd] 02/12: eth-multiplexer: fix device_{get,set}_status calls, Samuel Thibault, 2014/12/10
- [hurd] 07/12: libmachdev: drop debugging printf, Samuel Thibault, 2014/12/10
- [hurd] 01/12: libmachdev: fix getting parameter for get_status, Samuel Thibault, 2014/12/10
- [hurd] 11/12: Merge remote-tracking branch 'incubator/dde' into dde-upstream, Samuel Thibault, 2014/12/10
- [hurd] 10/12: libmachdev: avoid malloc overhead when sending package, Samuel Thibault, 2014/12/10
- [hurd] 03/12: eth-multiplexer: improve the netfs_demuxer function, Samuel Thibault, 2014/12/10
- [hurd] 09/12: libmachdev: drop static libmachdev.so hack, Samuel Thibault, 2014/12/10
- [hurd] 05/12: Remove obsolete device server stubs, Samuel Thibault, 2014/12/10
- [hurd] 04/12: Drop superfluous files, Samuel Thibault, 2014/12/10
- [hurd] 12/12: Merge branch 'dde-upstream' into dde, Samuel Thibault, 2014/12/10