summaryrefslogtreecommitdiffstats
path: root/bsps
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2018-08-22 09:30:44 -0500
committerJoel Sherrill <joel@rtems.org>2018-08-29 12:52:09 -0500
commit76b3f8c3f086a9143f0acaee91cebb0c64d48000 (patch)
tree5294ed519025f5b280fb842d2e1463c9f5f51430 /bsps
parentbsps/i386/shared/cache/cache.c: Fix warnings (diff)
downloadrtems-76b3f8c3f086a9143f0acaee91cebb0c64d48000.tar.bz2
gen5200/include/bsp/bestcomm.h: Fix unused variable warning
Diffstat (limited to 'bsps')
-rw-r--r--bsps/powerpc/gen5200/include/bsp/bestcomm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/bsps/powerpc/gen5200/include/bsp/bestcomm.h b/bsps/powerpc/gen5200/include/bsp/bestcomm.h
index 366465565a..b545010f06 100644
--- a/bsps/powerpc/gen5200/include/bsp/bestcomm.h
+++ b/bsps/powerpc/gen5200/include/bsp/bestcomm.h
@@ -97,6 +97,7 @@ static inline void bestcomm_irq_wakeup_event_task(const bestcomm_irq *self)
{
rtems_status_code sc = rtems_event_send(self->event_task_id, BESTCOMM_IRQ_EVENT);
assert(sc == RTEMS_SUCCESSFUL);
+ (void) sc;
}
static inline void bestcomm_irq_wait(const bestcomm_irq *self)
@@ -110,6 +111,7 @@ static inline void bestcomm_irq_wait(const bestcomm_irq *self)
);
assert(sc == RTEMS_SUCCESSFUL);
assert(events == BESTCOMM_IRQ_EVENT);
+ (void) sc;
}
static inline bool bestcomm_irq_peek(const bestcomm_irq *self)
@@ -117,6 +119,7 @@ static inline bool bestcomm_irq_peek(const bestcomm_irq *self)
rtems_event_set events;
rtems_status_code sc = rtems_event_receive(0, 0, 0, &events);
assert(sc == RTEMS_SUCCESSFUL);
+ (void) sc;
return (events & BESTCOMM_IRQ_EVENT) != 0;
}