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

Jiri Denemark jdenemar at redhat.com
Mon Aug 10 14:37:54 UTC 2015


On Mon, Aug 10, 2015 at 10:55:44 +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.

ACK

Jirka




More information about the libvir-list mailing list