Remove duplicate call to subfacet_create().
authorJarno Rajahalme <jrajahalme@nicira.com>
Thu, 22 Aug 2013 22:51:39 +0000 (15:51 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 23 Aug 2013 17:47:06 +0000 (10:47 -0700)
commit1607b9b580542931cd1c374053f9ef37aaff4b93
treef4d27b2b55d0657f5ba2129dac71f869b4270e65
parent01d18a3affec8249863053b99bc646545ca8171c
Remove duplicate call to subfacet_create().

There were two calls to subfacet_create(), which is redundant.  The first
one seemed the one to remove, as there is a subsequent test on the facet's
subfacet list being empty, which is never true after a call to
subfacet_create().  The correctness of this needs to be checked, however.

Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
ofproto/ofproto-dpif.c