diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-12-21 20:12:28 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-01-22 07:52:40 +0100 |
commit | c625a641218fbda23582354b3cfc7a7c7a4e4287 (patch) | |
tree | 82853d039ebb88fb4e7afe0b572c1d072a3f4d00 /cpukit/libfs/src/devfs | |
parent | powerpc: Fix AltiVec VSCR save/restore (diff) | |
download | rtems-c625a641218fbda23582354b3cfc7a7c7a4e4287.tar.bz2 |
Filesystem: Delete node type operation
Use the fstat handler instead.
Diffstat (limited to 'cpukit/libfs/src/devfs')
-rw-r--r-- | cpukit/libfs/src/devfs/devfs.h | 16 | ||||
-rw-r--r-- | cpukit/libfs/src/devfs/devfs_init.c | 1 | ||||
-rw-r--r-- | cpukit/libfs/src/devfs/devfs_node_type.c | 31 |
3 files changed, 0 insertions, 48 deletions
diff --git a/cpukit/libfs/src/devfs/devfs.h b/cpukit/libfs/src/devfs/devfs.h index 0213e072f9..6b8fae1795 100644 --- a/cpukit/libfs/src/devfs/devfs.h +++ b/cpukit/libfs/src/devfs/devfs.h @@ -191,22 +191,6 @@ extern int devFS_stat( ); /** - * @brief Invoked upon Determination of a Node Type - * - * This routine is invoked upon determination of a node type. - * Since this is a device-only filesystem, so there is only - * one node type in the system. - * - * @param loc contains filesytem access information, this - * parameter is ignored - * - * @retval always returns RTEMS_FILESYSTEM_DEVICE - */ -extern rtems_filesystem_node_types_t devFS_node_type( - const rtems_filesystem_location_info_t*loc -); - -/** * @brief Creates an item in the main device table. * * This routine is invoked upon registration of a new device diff --git a/cpukit/libfs/src/devfs/devfs_init.c b/cpukit/libfs/src/devfs/devfs_init.c index b1419e9491..9fafc6adf0 100644 --- a/cpukit/libfs/src/devfs/devfs_init.c +++ b/cpukit/libfs/src/devfs/devfs_init.c @@ -23,7 +23,6 @@ const rtems_filesystem_operations_table devFS_ops = { .eval_path_h = devFS_eval_path, .link_h = rtems_filesystem_default_link, .are_nodes_equal_h = rtems_filesystem_default_are_nodes_equal, - .node_type_h = devFS_node_type, .mknod_h = devFS_mknod, .rmnod_h = rtems_filesystem_default_rmnod, .fchmod_h = rtems_filesystem_default_fchmod, diff --git a/cpukit/libfs/src/devfs/devfs_node_type.c b/cpukit/libfs/src/devfs/devfs_node_type.c deleted file mode 100644 index 2c1e7f469b..0000000000 --- a/cpukit/libfs/src/devfs/devfs_node_type.c +++ /dev/null @@ -1,31 +0,0 @@ -/** - * @file - * - * @brief Invoked upon Determination of a Node Type - * @ingroup DevFsDeviceTable Define Device Table Type - */ - -/* - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - -#if HAVE_CONFIG_H -#include "config.h" -#endif - -#include "devfs.h" - -rtems_filesystem_node_types_t devFS_node_type( - const rtems_filesystem_location_info_t *loc -) -{ - /* - * There is only one type of node: device - */ - - return RTEMS_FILESYSTEM_DEVICE; -} - - |