mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06: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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user