]> git.proxmox.com Git - mirror_ovs.git/commitdiff
treewide: Change doubled ";;" to single ";" in C code.
authorBen Pfaff <blp@nicira.com>
Wed, 22 Jul 2015 15:30:15 +0000 (08:30 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 22 Jul 2015 16:54:11 +0000 (09:54 -0700)
Except in "for (;;)".

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Russell Bryant <rbryant@redhat.com>
lib/netdev-dummy.c
lib/syslog-direct.c
lib/vlog.c
ofproto/connmgr.c
ofproto/ofproto.c
ovn/lib/actions.h

index c8072b6aaa1e4ca13622d28191dd0c63b6d060bd..285f5448cb12c42243c458b9ce99beb64b6a5f64 100644 (file)
@@ -388,7 +388,7 @@ dummy_packet_conn_set_config(struct dummy_packet_conn *conn,
     if (stream) {
         int error;
         struct stream *active_stream;
-        struct reconnect *reconnect;;
+        struct reconnect *reconnect;
 
         reconnect = reconnect_create(time_msec());
         reconnect_set_name(reconnect, stream);
index 6bc074981e6e1d72edfab04dd988352fc9e1f8b3..f41d881e302f97d45686266430e65b95e6af91c5 100644 (file)
@@ -98,7 +98,7 @@ syslog_direct_log(struct syslogger *this, int pri, const char *msg)
     }
     ds_put_format(&ds, "<%u>%s", pri, msg);
     wire_msg = ds_cstr(&ds);
-    send_len = MIN(strlen(wire_msg), max_len);;
+    send_len = MIN(strlen(wire_msg), max_len);
     while (send(this_->fd, wire_msg, send_len, 0) < 0 && errno == EMSGSIZE) {
         /* If message was too large for send() function then try to discover
          * max_len supported for this particular socket and retry sending a
index 09351a806358c779826e28f21a5fa80fbf2f029f..29ba620829ff9ee39512485ed838ac038b2ed171 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2008, 2009, 2010, 2011, 2012, 2013 Nicira, Inc.
+ * Copyright (c) 2008, 2009, 2010, 2011, 2012, 2013, 2015 Nicira, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -811,7 +811,7 @@ vlog_get_patterns(void)
     ds_put_format(&ds, "         ------                            ------\n");
 
     for (destination = 0; destination < VLF_N_DESTINATIONS; destination++) {
-        struct destination *f = &destinations[destination];;
+        struct destination *f = &destinations[destination];
         const char *prefix = "none";
 
         if (destination == VLF_SYSLOG && syslogger) {
index 975ee335b9f6d81278e35830510872f47f117e13..302d9cea607baf7caf547bc1f4d3c9f8b1b52220 100644 (file)
@@ -417,7 +417,7 @@ connmgr_get_memory_usage(const struct connmgr *mgr, struct simap *usage)
             struct pinsched_stats stats;
 
             pinsched_get_stats(ofconn->schedulers[i], &stats);
-            packets += stats.n_queued;;
+            packets += stats.n_queued;
         }
         packets += pktbuf_count_packets(ofconn->pktbuf);
     }
index 6d60bfb3909e34f68af18c79737d9901ded7c67d..616c04c4790dae83133e54fc01fd8780b1d96663 100644 (file)
@@ -6929,7 +6929,7 @@ handle_bundle_control(struct ofconn *ofconn, const struct ofp_header *oh)
         break;
     case OFPBCT_CLOSE_REQUEST:
         error = ofp_bundle_close(ofconn, bctrl.bundle_id, bctrl.flags);
-        reply.type = OFPBCT_CLOSE_REPLY;;
+        reply.type = OFPBCT_CLOSE_REPLY;
         break;
     case OFPBCT_COMMIT_REQUEST:
         error = do_bundle_commit(ofconn, bctrl.bundle_id, bctrl.flags);
index 0139bfcfe031cb20f0a242b32afbb70554fb070c..b44206183da72d5aeca243384b2e712a229a55e1 100644 (file)
@@ -29,10 +29,10 @@ struct simap;
 char *actions_parse(struct lexer *, const struct shash *symtab,
                     const struct simap *ports, uint8_t next_table_id,
                     struct ofpbuf *ofpacts, struct expr **prereqsp)
-    OVS_WARN_UNUSED_RESULT;;
+    OVS_WARN_UNUSED_RESULT;
 char *actions_parse_string(const char *s, const struct shash *symtab,
                            const struct simap *ports, uint8_t next_table_id,
                            struct ofpbuf *ofpacts, struct expr **prereqsp)
-    OVS_WARN_UNUSED_RESULT;;
+    OVS_WARN_UNUSED_RESULT;
 
 #endif /* ovn/actions.h */