From: Daniel Veillard Date: Thu, 30 Aug 2012 07:18:02 +0000 (+0800) Subject: Small cleanup on previous patch X-Git-Tag: v0.10.1~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3219cc329216a08c6c502beb2c8428ff2d953db8;p=thirdparty%2Flibvirt.git Small cleanup on previous patch As pointed by Eric Blake --- diff --git a/src/util/virnetdevopenvswitch.c b/src/util/virnetdevopenvswitch.c index 06debd7912..00271a0005 100644 --- a/src/util/virnetdevopenvswitch.c +++ b/src/util/virnetdevopenvswitch.c @@ -83,7 +83,7 @@ int virNetDevOpenvswitchAddPort(const char *brname, const char *ifname, if (virtVlan && virtVlan->nTags > 0) { /* Trunk port first */ - if (virtVlan->trunk == true) { + if (virtVlan->trunk) { virBufferAddLit(&buf, "trunk="); /*