Re: [libvirt] [PATCH 02/18] cpu: Simplify NULL handling in ppc64 driver

2015-08-05 Thread Jiri Denemark
On Tue, Aug 04, 2015 at 11:37:53 +0200, Andrea Bolognani wrote: > Use briefer checks, eg. (!model) instead of (model == NULL), and > avoid initializing to NULL a pointer that would be assigned in > the first line of the function anyway. > > Also remove a pointless NULL assignment. > > No function

[libvirt] [PATCH 02/18] cpu: Simplify NULL handling in ppc64 driver

2015-08-04 Thread Andrea Bolognani
Use briefer checks, eg. (!model) instead of (model == NULL), and avoid initializing to NULL a pointer that would be assigned in the first line of the function anyway. Also remove a pointless NULL assignment. No functional changes. --- src/cpu/cpu_ppc64.c | 33 - 1