summaryrefslogtreecommitdiffstats
path: root/cpukit/libblock/src/bdbuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libblock/src/bdbuf.c')
-rw-r--r--cpukit/libblock/src/bdbuf.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/cpukit/libblock/src/bdbuf.c b/cpukit/libblock/src/bdbuf.c
index e65f72473e..ee6f1d9347 100644
--- a/cpukit/libblock/src/bdbuf.c
+++ b/cpukit/libblock/src/bdbuf.c
@@ -19,7 +19,7 @@
* Rewritten to remove score mutex access. Fixes many performance
* issues.
*
- * Copyright (c) 2009, 2017 embedded brains GmbH.
+ * Copyright (C) 2009, 2017 embedded brains GmbH & Co. KG
*/
/**
@@ -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 ();