mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 21:34:54 +03:00
conf: drop virCapsPtr param from assign addresses callback
The virCapsPtr param is not used by any of the virt drivers providing this callback. Reviewed-by: Michal Privoznik <mprivozn@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
638ffa2228
commit
a7ef72a8fd
@ -167,7 +167,6 @@ bhyveDomainDeviceDefPostParse(virDomainDeviceDefPtr dev,
|
||||
|
||||
static int
|
||||
bhyveDomainDefAssignAddresses(virDomainDef *def,
|
||||
virCapsPtr caps G_GNUC_UNUSED,
|
||||
unsigned int parseFlags G_GNUC_UNUSED,
|
||||
void *opaque G_GNUC_UNUSED,
|
||||
void *parseOpaque G_GNUC_UNUSED)
|
||||
|
@ -5878,7 +5878,7 @@ virDomainDefPostParse(virDomainDefPtr def,
|
||||
goto cleanup;
|
||||
|
||||
if (xmlopt->config.assignAddressesCallback) {
|
||||
ret = xmlopt->config.assignAddressesCallback(def, caps, parseFlags,
|
||||
ret = xmlopt->config.assignAddressesCallback(def, parseFlags,
|
||||
xmlopt->config.priv,
|
||||
data.parseOpaque);
|
||||
if (virDomainDefPostParseCheckFailure(def, parseFlags, ret) < 0)
|
||||
|
@ -2660,7 +2660,6 @@ typedef int (*virDomainDeviceDefPostParseCallback)(virDomainDeviceDefPtr dev,
|
||||
* @opaque is opaque data set by driver (usually pointer to driver
|
||||
* private data). */
|
||||
typedef int (*virDomainDefAssignAddressesCallback)(virDomainDef *def,
|
||||
virCapsPtr caps,
|
||||
unsigned int parseFlags,
|
||||
void *opaque,
|
||||
void *parseOpaque);
|
||||
|
@ -8115,7 +8115,6 @@ qemuDomainDeviceDefPostParse(virDomainDeviceDefPtr dev,
|
||||
|
||||
static int
|
||||
qemuDomainDefAssignAddresses(virDomainDef *def,
|
||||
virCapsPtr caps G_GNUC_UNUSED,
|
||||
unsigned int parseFlags G_GNUC_UNUSED,
|
||||
void *opaque,
|
||||
void *parseOpaque)
|
||||
|
Loading…
Reference in New Issue
Block a user