From: Ben Pfaff Date: Wed, 10 Feb 2010 19:02:09 +0000 (-0800) Subject: vswitchd: Drop assignment whose value is never used in port_reconfigure(). X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5fbb4e187d587679882b296211e75a06f791acea;p=openvswitch vswitchd: Drop assignment whose value is never used in port_reconfigure(). Seems cleaner this way. Found by Clang (http://clang-analyzer.llvm.org/). --- diff --git a/vswitchd/bridge.c b/vswitchd/bridge.c index 53b20e32..f097e183 100644 --- 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; }