mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-27 11:01:19 +00:00
Remove nwfilter tech driver 'displayRuleInstance' callback
The 'displayRuleInstance' callback in the nwfilter tech driver is never invoked, so can be deleted. Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
parent
9b8aef1a02
commit
143a8a3038
@ -2781,17 +2781,6 @@ ebiptablesFreeRuleInstance(void *_inst)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static int
|
|
||||||
ebiptablesDisplayRuleInstance(void *_inst)
|
|
||||||
{
|
|
||||||
ebiptablesRuleInstPtr inst = (ebiptablesRuleInstPtr)_inst;
|
|
||||||
VIR_INFO("Command Template: '%s', Needed protocol: '%s'",
|
|
||||||
inst->commandTemplate,
|
|
||||||
inst->neededProtocolChain);
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ebiptablesExecCLI:
|
* ebiptablesExecCLI:
|
||||||
* @buf: pointer to virBuffer containing the string with the commands to
|
* @buf: pointer to virBuffer containing the string with the commands to
|
||||||
@ -4105,7 +4094,6 @@ virNWFilterTechDriver ebiptables_driver = {
|
|||||||
.tearOldRules = ebiptablesTearOldRules,
|
.tearOldRules = ebiptablesTearOldRules,
|
||||||
.allTeardown = ebiptablesAllTeardown,
|
.allTeardown = ebiptablesAllTeardown,
|
||||||
.freeRuleInstance = ebiptablesFreeRuleInstance,
|
.freeRuleInstance = ebiptablesFreeRuleInstance,
|
||||||
.displayRuleInstance = ebiptablesDisplayRuleInstance,
|
|
||||||
|
|
||||||
.canApplyBasicRules = ebiptablesCanApplyBasicRules,
|
.canApplyBasicRules = ebiptablesCanApplyBasicRules,
|
||||||
.applyBasicRules = ebtablesApplyBasicRules,
|
.applyBasicRules = ebtablesApplyBasicRules,
|
||||||
|
@ -62,8 +62,6 @@ typedef int (*virNWFilterRuleAllTeardown)(const char *ifname);
|
|||||||
|
|
||||||
typedef int (*virNWFilterRuleFreeInstanceData)(void * _inst);
|
typedef int (*virNWFilterRuleFreeInstanceData)(void * _inst);
|
||||||
|
|
||||||
typedef int (*virNWFilterRuleDisplayInstanceData)(void *_inst);
|
|
||||||
|
|
||||||
typedef int (*virNWFilterCanApplyBasicRules)(void);
|
typedef int (*virNWFilterCanApplyBasicRules)(void);
|
||||||
|
|
||||||
typedef int (*virNWFilterApplyBasicRules)(const char *ifname,
|
typedef int (*virNWFilterApplyBasicRules)(const char *ifname,
|
||||||
@ -95,7 +93,6 @@ struct _virNWFilterTechDriver {
|
|||||||
virNWFilterRuleTeardownOldRules tearOldRules;
|
virNWFilterRuleTeardownOldRules tearOldRules;
|
||||||
virNWFilterRuleAllTeardown allTeardown;
|
virNWFilterRuleAllTeardown allTeardown;
|
||||||
virNWFilterRuleFreeInstanceData freeRuleInstance;
|
virNWFilterRuleFreeInstanceData freeRuleInstance;
|
||||||
virNWFilterRuleDisplayInstanceData displayRuleInstance;
|
|
||||||
|
|
||||||
virNWFilterCanApplyBasicRules canApplyBasicRules;
|
virNWFilterCanApplyBasicRules canApplyBasicRules;
|
||||||
virNWFilterApplyBasicRules applyBasicRules;
|
virNWFilterApplyBasicRules applyBasicRules;
|
||||||
|
Loading…
Reference in New Issue
Block a user