apps/examples/sched_note: Fix some issues associated with monitoring critical sections

This commit is contained in:
Gregory Nutt 2016-03-21 17:09:18 -06:00
parent 5a95cb4601
commit a473ececed

View File

@ -288,8 +288,6 @@ static void dump_notes(size_t nread)
case NOTE_CSECTION_ENTER: case NOTE_CSECTION_ENTER:
case NOTE_CSECTION_LEAVE: case NOTE_CSECTION_LEAVE:
{ {
FAR struct note_csection_s *note_csection =
(FAR struct note_csection_s *)note;
#ifdef CONFIG_SMP #ifdef CONFIG_SMP
uint16_t count; uint16_t count;
#endif #endif