From f39a6745d12da443553bfa8097b6a2bcfae18d5e Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Wed, 3 Feb 2016 03:21:38 -0200 Subject: [PATCH] Global: remove unused _timer_pending from scheduler --- libraries/AP_HAL_Linux/Scheduler.h | 2 -- libraries/AP_HAL_PX4/Scheduler.h | 1 - libraries/AP_HAL_QURT/Scheduler.h | 1 - libraries/AP_HAL_VRBRAIN/Scheduler.h | 1 - 4 files changed, 5 deletions(-) diff --git a/libraries/AP_HAL_Linux/Scheduler.h b/libraries/AP_HAL_Linux/Scheduler.h index eb55c06f13..376260be3c 100644 --- a/libraries/AP_HAL_Linux/Scheduler.h +++ b/libraries/AP_HAL_Linux/Scheduler.h @@ -59,7 +59,6 @@ private: }; void _wait_all_threads(); - void _timer_handler(int signum); AP_HAL::Proc _delay_cb; uint16_t _min_delay_cb_ms; @@ -68,7 +67,6 @@ private: bool _initialized; pthread_barrier_t _initialized_barrier; - volatile bool _timer_pending; AP_HAL::MemberProc _timer_proc[LINUX_SCHEDULER_MAX_TIMER_PROCS]; uint8_t _num_timer_procs; diff --git a/libraries/AP_HAL_PX4/Scheduler.h b/libraries/AP_HAL_PX4/Scheduler.h index 7084e8fa30..da7ec90dae 100644 --- a/libraries/AP_HAL_PX4/Scheduler.h +++ b/libraries/AP_HAL_PX4/Scheduler.h @@ -67,7 +67,6 @@ private: AP_HAL::Proc _delay_cb; uint16_t _min_delay_cb_ms; AP_HAL::Proc _failsafe; - volatile bool _timer_pending; volatile bool _timer_suspended; diff --git a/libraries/AP_HAL_QURT/Scheduler.h b/libraries/AP_HAL_QURT/Scheduler.h index 8751ff63fe..bbe5fbd8ee 100644 --- a/libraries/AP_HAL_QURT/Scheduler.h +++ b/libraries/AP_HAL_QURT/Scheduler.h @@ -41,7 +41,6 @@ private: AP_HAL::Proc _delay_cb; uint16_t _min_delay_cb_ms; AP_HAL::Proc _failsafe; - volatile bool _timer_pending; volatile bool _timer_suspended; diff --git a/libraries/AP_HAL_VRBRAIN/Scheduler.h b/libraries/AP_HAL_VRBRAIN/Scheduler.h index 509a877bd8..70d8cb8aa7 100644 --- a/libraries/AP_HAL_VRBRAIN/Scheduler.h +++ b/libraries/AP_HAL_VRBRAIN/Scheduler.h @@ -46,7 +46,6 @@ private: AP_HAL::Proc _delay_cb; uint16_t _min_delay_cb_ms; AP_HAL::Proc _failsafe; - volatile bool _timer_pending; volatile bool _timer_suspended;