diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-10-20 10:48:30 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-10-20 10:48:30 +0000 |
commit | 9b42315cee1c6ed8fbf60cfffdcec9b4e353a38a (patch) | |
tree | af53e332f324660dc54a411e79cd9668f70ad291 | |
parent | 2011-10-20 Sebastian Huber <sebastian.huber@embedded-brains.de> (diff) | |
download | rtems-9b42315cee1c6ed8fbf60cfffdcec9b4e353a38a.tar.bz2 |
2011-10-20 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/dosfs/msdos_file.c (msdos_file_datasync):
Remove unused var "rc".
-rw-r--r-- | cpukit/ChangeLog | 5 | ||||
-rw-r--r-- | cpukit/libfs/src/dosfs/msdos_file.c | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 898086413f..b530cbea95 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,8 @@ +2011-10-20 Ralf Corsépius <ralf.corsepius@rtems.org> + + * libfs/src/dosfs/msdos_file.c (msdos_file_datasync): + Remove unused var "rc". + 2011-10-19 Ralf Corsépius <ralf.corsepius@rtems.org> * include/rtems/btimer.h: Introduce benchmark_timer_t. diff --git a/cpukit/libfs/src/dosfs/msdos_file.c b/cpukit/libfs/src/dosfs/msdos_file.c index 0b05296df9..8abe01dcdf 100644 --- a/cpukit/libfs/src/dosfs/msdos_file.c +++ b/cpukit/libfs/src/dosfs/msdos_file.c @@ -407,7 +407,6 @@ msdos_file_sync(rtems_libio_t *iop) int msdos_file_datasync(rtems_libio_t *iop) { - int rc = RC_OK; rtems_status_code sc = RTEMS_SUCCESSFUL; fat_file_fd_t *fat_fd = iop->pathinfo.node_access; msdos_fs_info_t *fs_info = iop->pathinfo.mt_entry->fs_info; @@ -418,7 +417,7 @@ msdos_file_datasync(rtems_libio_t *iop) rtems_set_errno_and_return_minus_one(EIO); /* synchronize file data */ - rc = fat_file_datasync(iop->pathinfo.mt_entry, fat_fd); + fat_file_datasync(iop->pathinfo.mt_entry, fat_fd); rtems_semaphore_release(fs_info->vol_sema); return RC_OK; |