projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
651471f
)
vswitchd: Drop assignment whose value is never used in port_reconfigure().
author
Ben Pfaff
<blp@nicira.com>
Wed, 10 Feb 2010 19:02:09 +0000
(11:02 -0800)
committer
Ben Pfaff
<blp@nicira.com>
Thu, 11 Feb 2010 18:35:28 +0000
(10:35 -0800)
Seems cleaner this way.
Found by Clang (http://clang-analyzer.llvm.org/).
vswitchd/bridge.c
patch
|
blob
|
history
diff --git
a/vswitchd/bridge.c
b/vswitchd/bridge.c
index 53b20e32c1957dc052882c9a0a2a6382e500b31b..f097e183c7d8c342bf98ffe4a20c6ec9d230337d 100644
(file)
--- a/
vswitchd/bridge.c
+++ b/
vswitchd/bridge.c
@@
-3083,7
+3083,7
@@
port_reconfigure(struct port *port, const struct ovsrec_port *cfg)
iface = shash_find_data(&old_ifaces, if_cfg->name);
if (!iface) {
- iface
= iface
_create(port, if_cfg);
+ iface_create(port, if_cfg);
} else {
iface->cfg = if_cfg;
}