mpu9250: fully remove dead interval perf counter

This commit is contained in:
Daniel Agar
2019-11-19 12:42:35 -05:00
parent bf2a10496c
commit b213e30597
2 changed files with 0 additions and 3 deletions

View File

@@ -94,7 +94,6 @@ MPU9250::~MPU9250()
// delete the perf counter
perf_free(_sample_perf);
perf_free(_interval_perf);
perf_free(_bad_transfers);
perf_free(_bad_registers);
perf_free(_good_transfers);
@@ -620,7 +619,6 @@ void
MPU9250::measure()
{
perf_begin(_sample_perf);
perf_count(_interval_perf);
if (hrt_absolute_time() < _reset_wait) {
// we're waiting for a reset to complete

View File

@@ -261,7 +261,6 @@ private:
unsigned _sample_rate{1000};
perf_counter_t _sample_perf;
perf_counter_t _interval_perf;
perf_counter_t _bad_transfers;
perf_counter_t _bad_registers;
perf_counter_t _good_transfers;