[libvirt] [PATCH 02/18] cpu: Simplify NULL handling in ppc64 driver
Jiri Denemark
jdenemar at redhat.com
Wed Aug 5 12:12:12 UTC 2015
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 functional changes.
> ---
> src/cpu/cpu_ppc64.c | 33 ++++++++++++++++-----------------
> 1 file changed, 16 insertions(+), 17 deletions(-)
ACK
Jirka
More information about the libvir-list
mailing list