vswitchd: Only try to open netdev once.
authorBen Pfaff <blp@nicira.com>
Tue, 28 Sep 2010 18:25:47 +0000 (11:25 -0700)
committerBen Pfaff <blp@nicira.com>
Mon, 11 Oct 2010 17:40:05 +0000 (10:40 -0700)
commit64d64dd7bbecf7baed6975420009a7a613caba2f
tree84753d2a66ac469b8e97c30613f74588460a0f1c
parent3a6ccc8c00697678b920af3d1563aa50891f03a5
vswitchd: Only try to open netdev once.

The previous commit arranged to always open the netdev for bridge ports
within the loop that adds new ports to datapaths.  So now the additional
attempt to open them within the following loop is superfluous and
presumably will always fail.  This commit drops it and merges two
iterations through bridge ports into a single one, since the first is now
trivial.
vswitchd/bridge.c