OSDN Git Service

Allow alarm_cancel() on NULL timers
authorPavlin Radoslavov <pavlin@google.com>
Thu, 28 Jan 2016 00:03:19 +0000 (16:03 -0800)
committerPavlin Radoslavov <pavlin@google.com>
Thu, 28 Jan 2016 00:03:19 +0000 (16:03 -0800)
commitdd7aaec9e8ccfeee5cd3f3a5caa1cc35d7870bde
treed847201eae4e204528ddbfd4e4d8f565b77e9ab7
parentda35bbce704acff55b9748264106162d33a7ff2a
Allow alarm_cancel() on NULL timers

Remove an assert that prevents using alarm_cancel() with NULL
timers.

Bug: 26831803
Change-Id: Ifd1476272b13a3f7fd5a0dbb57ee867cbfe2c2bb
osi/src/alarm.c