]> git.ipfire.org Git - thirdparty/libvirt.git/commit
cpu_ppc64.c: remove 'guest' param from ppc64Compute()
authorDaniel Henrique Barboza <danielhb413@gmail.com>
Thu, 18 Nov 2021 14:20:20 +0000 (11:20 -0300)
committerDaniel Henrique Barboza <danielhb413@gmail.com>
Fri, 19 Nov 2021 16:32:59 +0000 (13:32 -0300)
commit0e2b546166e6b02ef2ac9e59ca5c1d237d95a51b
treed8accb1d90b7384767a30d67e65c516839d3422c
parent294e92145ec12bf33912f4987b3b93652548d461
cpu_ppc64.c: remove 'guest' param from ppc64Compute()

ppc64Compute() is used only once, by virCPUppc64Compare(), which
doesn't use the 'guest' parameter. It was last used by an API
called 'cpuGuestData' that was dropped by commit 03fa904c0c0cb2.

Removing the 'guest' parameter will not only remove unused code from
ppc64Compute() but also remove the ppc64MakeCPUData() entirely.

Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
src/cpu/cpu_ppc64.c