Re: [libvirt] [PATCH 3/5] De-duplicate code into virObjectEventStateCleanupTimer()

2016-10-12 Thread Michal Privoznik
On 11.10.2016 20:53, Martin Kletzander wrote: > There is a repeating pattern of code that removes the timer if it's not > needed. So let's move it to a new function. We'll also use it later. > > Signed-off-by: Martin Kletzander > --- > src/conf/object_event.c | 34

[libvirt] [PATCH 3/5] De-duplicate code into virObjectEventStateCleanupTimer()

2016-10-11 Thread Martin Kletzander
There is a repeating pattern of code that removes the timer if it's not needed. So let's move it to a new function. We'll also use it later. Signed-off-by: Martin Kletzander --- src/conf/object_event.c | 34 ++ 1 file changed, 22