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:
John Ferlan 2017-04-18 09:10:45 -04:00
parent fc07fd04e4
commit 4248f4e9d4
2 changed files with 0 additions and 2 deletions

View File

@ -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) {

View File

@ -29,7 +29,6 @@ typedef virNWFilterObj *virNWFilterObjPtr;
struct _virNWFilterObj {
virMutex lock;
int active;
int wantRemoved;
virNWFilterDefPtr def;