[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH hurd-dde 3/7] libmachdev: drop unused function
From: |
Samuel Thibault |
Subject: |
Re: [PATCH hurd-dde 3/7] libmachdev: drop unused function |
Date: |
Wed, 26 Nov 2014 18:47:55 +0100 |
User-agent: |
Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30) |
Justus Winter, le Wed 26 Nov 2014 15:22:32 +0100, a écrit :
> * libmachdev/ds_routines.c (mach_convert_device_to_port): Drop function.
Ack.
> ---
> 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,
> --
> 2.1.3
>
--
Samuel
> ±z¬O§_¸g±`¬°¦p¦ó©Ý®i¦æ¾PºÞ¹D¶Ë¸£µ¬?
> ¥Zµn³ø¯È,Âø»x¼s§i©Î¶l±H¢Ò¢Û (Direct Mail)¬O§_¤w¸gµLªk¹F¦¨±z¹w´Áªº¼s§i®ÄªG?
Je vous invite a consulter dans un premier temps le french-Howto.
-+- JCD in Guide du linuxien pervers - "Bien configurer la lisibilité de fcolm"
- [PATCH hurd-dde 5/7] libmachdev: avoid malloc overhead when sending package, (continued)
- [PATCH hurd-dde 6/7] libmachdev: fix size of `net_rcv_msg' message, Justus Winter, 2014/11/26
- [PATCH hurd-dde 7/7] libmachdev: drop static libmachdev.so hack, Justus Winter, 2014/11/26
- [PATCH hurd-dde 3/7] libmachdev: drop unused function, Justus Winter, 2014/11/26
- Re: [PATCH hurd-dde 3/7] libmachdev: drop unused function,
Samuel Thibault <=
- [PATCH hurd-dde 4/7] libmachdev: drop debugging printf, Justus Winter, 2014/11/26
- Re: [PATCH hurd-dde 1/7] Drop superfluous files, Samuel Thibault, 2014/11/26