mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-20 06:50:22 +03:00
nwfilter: Remove unused 'active' in virNWFilterObj
It was only ever set to false, which is ironically the default. Signed-off-by: John Ferlan <jferlan@redhat.com>
This commit is contained in:
parent
fc07fd04e4
commit
4248f4e9d4
@ -301,7 +301,6 @@ virNWFilterObjAssignDef(virNWFilterObjListPtr nwfilters,
|
||||
return NULL;
|
||||
}
|
||||
virNWFilterObjLock(obj);
|
||||
obj->active = 0;
|
||||
|
||||
if (VIR_APPEND_ELEMENT_COPY(nwfilters->objs,
|
||||
nwfilters->count, obj) < 0) {
|
||||
|
@ -29,7 +29,6 @@ typedef virNWFilterObj *virNWFilterObjPtr;
|
||||
struct _virNWFilterObj {
|
||||
virMutex lock;
|
||||
|
||||
int active;
|
||||
int wantRemoved;
|
||||
|
||||
virNWFilterDefPtr def;
|
||||
|
Loading…
x
Reference in New Issue
Block a user