summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/mknod.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libcsupport/src/mknod.c')
-rw-r--r--cpukit/libcsupport/src/mknod.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/cpukit/libcsupport/src/mknod.c b/cpukit/libcsupport/src/mknod.c
index 2d1db0fc3d..f4673b3275 100644
--- a/cpukit/libcsupport/src/mknod.c
+++ b/cpukit/libcsupport/src/mknod.c
@@ -45,10 +45,6 @@ int mknod(
rtems_filesystem_get_start_loc( pathname, &i, &temp_loc );
- if ( !temp_loc.ops->evalformake_h ) {
- rtems_set_errno_and_return_minus_one( ENOTSUP );
- }
-
result = (*temp_loc.ops->evalformake_h)(
&pathname[i],
&temp_loc,
@@ -57,11 +53,6 @@ int mknod(
if ( result != 0 )
return -1;
- if ( !temp_loc.ops->mknod_h ) {
- rtems_filesystem_freenode( &temp_loc );
- rtems_set_errno_and_return_minus_one( ENOTSUP );
- }
-
result = (*temp_loc.ops->mknod_h)( name_start, mode, dev, &temp_loc );
rtems_filesystem_freenode( &temp_loc );