From c42b03f49834b38a4bdcaf84a04638474c0d4216 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 28 Feb 2012 15:59:04 +0100 Subject: libblock: Remove superfluous volatile qualifier All these variables are protected by the bdbuf cache mutex. --- cpukit/libblock/include/rtems/bdbuf.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cpukit/libblock/include/rtems/bdbuf.h') diff --git a/cpukit/libblock/include/rtems/bdbuf.h b/cpukit/libblock/include/rtems/bdbuf.h index 33db50adce..11b413223b 100644 --- a/cpukit/libblock/include/rtems/bdbuf.h +++ b/cpukit/libblock/include/rtems/bdbuf.h @@ -321,13 +321,13 @@ typedef struct rtems_bdbuf_buffer unsigned char* buffer; /**< Pointer to the buffer memory area */ - volatile rtems_bdbuf_buf_state state; /**< State of the buffer. */ + rtems_bdbuf_buf_state state; /**< State of the buffer. */ - volatile uint32_t waiters; /**< The number of threads waiting on this + uint32_t waiters; /**< The number of threads waiting on this * buffer. */ rtems_bdbuf_group* group; /**< Pointer to the group of BDs this BD is * part of. */ - volatile uint32_t hold_timer; /**< Timer to indicate how long a buffer + uint32_t hold_timer; /**< Timer to indicate how long a buffer * has been held in the cache modified. */ int references; /**< Allow reference counting by owner. */ -- cgit v1.2.3