summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bsps/shared/grlib/btimer/tlib_ckinit.c16
1 files changed, 2 insertions, 14 deletions
diff --git a/bsps/shared/grlib/btimer/tlib_ckinit.c b/bsps/shared/grlib/btimer/tlib_ckinit.c
index 5ac325052c..2546df15c4 100644
--- a/bsps/shared/grlib/btimer/tlib_ckinit.c
+++ b/bsps/shared/grlib/btimer/tlib_ckinit.c
@@ -391,13 +391,7 @@ static const struct ops ops_irqamp = {
/** Interface to the Clock Driver Shell (dev/clock/clockimpl.h) **/
#define Clock_driver_support_find_timer() \
- do { \
- rtems_device_driver ret; \
- ret = tlib_clock_find_timer(); \
- if (RTEMS_SUCCESSFUL != ret) { \
- return ret; \
- } \
- } while (0)
+ tlib_clock_find_timer()
#define Clock_driver_support_install_isr( isr ) \
tlib_clock_install_isr( isr )
@@ -406,13 +400,7 @@ static const struct ops ops_irqamp = {
/* Done by tlib_clock_install_isr() */
#define Clock_driver_support_initialize_hardware() \
- do { \
- rtems_device_driver ret; \
- ret = tlib_clock_initialize_hardware(); \
- if (RTEMS_SUCCESSFUL != ret) { \
- return ret; \
- } \
- } while (0)
+ tlib_clock_initialize_hardware()
#define Clock_driver_timecounter_tick() \
tlib_clock_timecounter_tick()