Re: [libvirt] [PATCH] misc: Drop useless checks from *Dispose() functions

2019-05-23 Thread Erik Skultety
On Thu, May 23, 2019 at 12:16:02PM +0200, Michal Privoznik wrote: > Due to the way that our virObjectUnref() is written it's not > possible that a NULL is passed into *Dispose() function. However, > some functions check for that regardless. > > Signed-off-by: Michal Privoznik > --- Reviewed-by: E

[libvirt] [PATCH] misc: Drop useless checks from *Dispose() functions

2019-05-23 Thread Michal Privoznik
Due to the way that our virObjectUnref() is written it's not possible that a NULL is passed into *Dispose() function. However, some functions check for that regardless. Signed-off-by: Michal Privoznik --- src/conf/domain_conf.c | 3 --- src/conf/virstorageobj.c | 9 - src/rpc/virne