diff options
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/ChangeLog | 6 | ||||
-rw-r--r-- | cpukit/libfs/src/imfs/imfs.h | 11 |
2 files changed, 6 insertions, 11 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 00f04a2f91..cfb8303392 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,9 @@ +2006-12-12 Ralf Corsépius <ralf.corsepius@rtems.org> + + * libfs/src/imfs/imfs.h: Remove + increment_and_check_linkcounts (unused), + decrement_linkcounts (unused, broken). + 2006-12-08 Ralf Corsépius <ralf.corsepius@rtems.org> * libnetworking/net/route.c, libnetworking/netinet/ip_input.c, diff --git a/cpukit/libfs/src/imfs/imfs.h b/cpukit/libfs/src/imfs/imfs.h index a8fafd83ec..4e68fc8ac9 100644 --- a/cpukit/libfs/src/imfs/imfs.h +++ b/cpukit/libfs/src/imfs/imfs.h @@ -214,17 +214,6 @@ typedef struct { rtems_filesystem_file_handlers_r *directory_handlers; } IMFS_fs_info_t; -#if UNUSED -/* FIXME: Unused, we might want to remove it */ -#define increment_and_check_linkcounts( _fs_info ) \ - ((IMFS_fs_info_t * )_fs_info)->link_counts++; \ - if ( ((IMFS_fs_info_t * )_fs_info)->link_counts > MAXSYMLINKS ) \ - rtems_set_errno_and_return_minus_one( ELOOP ) -#endif - -#define decrement_linkcounts( _fs_info ) \ - ((IMFS_fs_info_t * )_fs_info)->link_counts--; - /* * Type defination for tokens returned from IMFS_get_token */ |