From 590cae7a98a649f9ebdccbddcaabfaf550aabece Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 3 Feb 2003 23:58:21 +0000 Subject: 2003-02-03 Joel Sherrill PR 338/filesystem * include/rtems/io.h, src/io.c: Side-effect of fixing reentrancy problem with rtems_io_lookup_name() (API change). --- cpukit/sapi/src/io.c | 40 ---------------------------------------- 1 file changed, 40 deletions(-) (limited to 'cpukit/sapi/src/io.c') diff --git a/cpukit/sapi/src/io.c b/cpukit/sapi/src/io.c index 54052b56c1..1d8f220fb6 100644 --- a/cpukit/sapi/src/io.c +++ b/cpukit/sapi/src/io.c @@ -238,46 +238,6 @@ rtems_status_code rtems_io_register_name( } #endif -/*PAGE - * - * rtems_io_lookup_name - * - * Find what driver "owns" this name - * - * Input Paramters: - * name - name to lookup the associated device - * - * Output Parameters: - * device_info - device associate with name - * RTEMS_SUCCESSFUL - if successful - * error code - if unsuccessful - */ - -#if 0 -rtems_status_code rtems_io_lookup_name( - const char *name, - rtems_driver_name_t **device_info -) -{ - rtems_driver_name_t *np; - unsigned32 index; - - for( index=0, np = _IO_Driver_name_table ; - index < _IO_Number_of_devices ; - index++, np++ ) - if (np->device_name) - if (strncmp(np->device_name, name, np->device_name_length) == 0) - { - *device_info = np; - return RTEMS_SUCCESSFUL; - } - - *device_info = 0; - return RTEMS_UNSATISFIED; -} -#endif - - /*PAGE * * rtems_io_initialize -- cgit v1.2.3