This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH] Remove dead broken code.
- From: Aurelien Jarno <aurelien at aurel32 dot net>
- To: libc-alpha at sourceware dot org
- Cc: Roland McGrath <mcgrathr at chromium dot org>
- Date: Wed, 15 Feb 2012 20:46:11 +0100
- Subject: [PATCH] Remove dead broken code.
Commit 3ce1f295 removed the use USE_IN_LIBIO define in all the code, but
removed #ifndef USE_IN_LIBIO #endif around the code without removing the
code itself. The patch below fixes that.
2012-02-15 Aurelien Jarno <aurelien@aurel32.net>
* mach/devstream.c: remove dead broken code.
diff --git a/mach/devstream.c b/mach/devstream.c
index 7c5a783..b699fbc 100644
--- a/mach/devstream.c
+++ b/mach/devstream.c
@@ -119,11 +119,6 @@ dealloc_ref (void *cookie)
return 0;
}
-#define cookie_io_functions_t __io_functions
-#define write __write
-#define read __read
-#define close __close
-
FILE *
mach_open_devstream (mach_port_t dev, const char *mode)
{
--
Aurelien Jarno GPG: 1024D/F1BCDB73
aurelien@aurel32.net http://www.aurel32.net