[libvirt] [PATCH 12/18] cpu: Align ppc64 CPU data with x86

Andrea Bolognani abologna at redhat.com
Thu Aug 6 11:48:52 UTC 2015


On Thu, 2015-08-06 at 13:20 +0200, Jiri Denemark wrote:
> 
> >  static void
> > +ppc64DataFree(virCPUppc64Data *data)
> > +{
> > +    if (!data)
> > +        return;
> 
> This is redundant unless you want to add more fields in the structure
> which will need to be freed here.
> 
> > +
> > +    VIR_FREE(data);
> > +}

I'm adding the fields in the next commit, but I can just move
the check to that commit as well :)

Cheers.

-- 
Andrea Bolognani
Software Engineer - Virtualization Team




More information about the libvir-list mailing list