Re: [libvirt] [PATCH] Drop some useless comparisons and checks

2019-03-06 Thread Erik Skultety
On Wed, Feb 27, 2019 at 03:39:01PM +0100, Michal Privoznik wrote: > In these cases the check that is removed has been done a few > lines above already (as can even be seen in the context). Drop > them. > > Signed-off-by: Michal Privoznik ... > } else { > /* assign default p

[libvirt] [PATCH] Drop some useless comparisons and checks

2019-02-27 Thread Michal Privoznik
In these cases the check that is removed has been done a few lines above already (as can even be seen in the context). Drop them. Signed-off-by: Michal Privoznik --- examples/dommigrate/dommigrate.c | 3 +-- src/conf/nwfilter_conf.c | 4 +--- src/qemu/qemu_command.c | 3 +--