Skip to content

Commit

Permalink
timer.c: remove unused function: expired
Browse files Browse the repository at this point in the history
  • Loading branch information
reubenhwk committed Jun 3, 2014
1 parent 2db0a6d commit 845bf67
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,3 @@ int next_time_msec(struct Interface const *iface)
retval = timevaldiff(&iface->next_multicast, &tv);
return retval >= 1 ? retval : 1;
}

int expired(struct Interface const *iface)
{
struct timeval tv;
gettimeofday(&tv, NULL);
if (timevaldiff(&iface->next_multicast, &tv) > 0)
return 0;
return 1;
}

0 comments on commit 845bf67

Please sign in to comment.