mirror of https://gitee.com/openkylin/libvirt.git
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…
Reference in New Issue