From 0acaddd05f24dd94da6002103b5a25b0371b10bb Mon Sep 17 00:00:00 2001 From: Ethan Jackson Date: Tue, 20 Mar 2012 18:15:48 -0700 Subject: [PATCH] bridge: Shorten long lines. Signed-off-by: Ethan Jackson --- vswitchd/bridge.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/vswitchd/bridge.c b/vswitchd/bridge.c index 1682280f..bf4f1c64 100644 --- a/vswitchd/bridge.c +++ b/vswitchd/bridge.c @@ -1260,7 +1260,8 @@ bridge_configure_flow_eviction_threshold(struct bridge *br) const char *threshold_str; unsigned threshold; - threshold_str = bridge_get_other_config(br->cfg, "flow-eviction-threshold"); + threshold_str = bridge_get_other_config(br->cfg, + "flow-eviction-threshold"); if (threshold_str) { threshold = strtoul(threshold_str, NULL, 10); } else { @@ -1513,7 +1514,8 @@ iface_refresh_status(struct iface *iface) error = netdev_get_flags(iface->netdev, &flags); if (!error) { - ovsrec_interface_set_admin_state(iface->cfg, flags & NETDEV_UP ? "up" : "down"); + ovsrec_interface_set_admin_state(iface->cfg, + flags & NETDEV_UP ? "up" : "down"); } else { ovsrec_interface_set_admin_state(iface->cfg, NULL); @@ -1628,7 +1630,8 @@ iface_refresh_stats(struct iface *iface) #undef IFACE_STAT assert(i == ARRAY_SIZE(keys)); - ovsrec_interface_set_statistics(iface->cfg, keys, values, ARRAY_SIZE(keys)); + ovsrec_interface_set_statistics(iface->cfg, keys, values, + ARRAY_SIZE(keys)); #undef IFACE_STATS } -- 2.30.2