diff options
Diffstat (limited to 'cpukit/libblock/src/bdbuf.c')
-rw-r--r-- | cpukit/libblock/src/bdbuf.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cpukit/libblock/src/bdbuf.c b/cpukit/libblock/src/bdbuf.c index 06b756272f..ee6f1d9347 100644 --- a/cpukit/libblock/src/bdbuf.c +++ b/cpukit/libblock/src/bdbuf.c @@ -39,7 +39,6 @@ #include <pthread.h> #include <rtems.h> -#include <rtems/error.h> #include <rtems/thread.h> #include <rtems/score/assert.h> @@ -2902,7 +2901,7 @@ rtems_bdbuf_set_block_size (rtems_disk_device *dd, * device later. */ if (sync) - rtems_bdbuf_syncdev (dd); + (void) rtems_bdbuf_syncdev (dd); rtems_bdbuf_lock_cache (); |