Core: Remove unused variable

This commit is contained in:
Vicki Pfau 2017-01-18 23:40:33 -08:00
parent caee44a592
commit 47344bc08a
1 changed files with 0 additions and 2 deletions

View File

@ -55,13 +55,11 @@ void mTimingDeschedule(struct mTiming* timing, struct mTimingEvent* event) {
}
bool mTimingIsScheduled(const struct mTiming* timing, const struct mTimingEvent* event) {
struct mTimingEvent* const* previous = &timing->root;
const struct mTimingEvent* next = timing->root;
while (next) {
if (next == event) {
return true;
}
previous = &next->next;
next = next->next;
}
return false;