]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
network: drop doubled white space 16396/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 14 Jul 2020 18:40:26 +0000 (03:40 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 15 Jul 2020 08:15:25 +0000 (17:15 +0900)
src/network/netdev/bond.c
src/network/netdev/bridge.c
src/network/networkctl.c
src/network/networkd-network.c
src/network/tc/tc-util.c
src/network/wait-online/manager.c

index 8c1ba11e5fd4ef258c5661204ffdd73c135ef8ae..4d61c217b18e9f98a9240e8cd16c0b6b1e82bdf7 100644 (file)
@@ -288,7 +288,7 @@ int link_set_bond(Link *link) {
         r = netlink_call_async(link->manager->rtnl, NULL, req, link_set_bond_handler,
                                link_netlink_destroy_callback, link);
         if (r < 0)
-                return log_link_error_errno(link, r,  "Could not send rtnetlink message: %m");
+                return log_link_error_errno(link, r, "Could not send rtnetlink message: %m");
 
         link_ref(link);
 
index de492c5eeb2a66ed1e65b7e4f97f47b3492ed8af..ef5a9bb69487063055fcee6f6e0ecad0b2f86b5f 100644 (file)
@@ -218,7 +218,7 @@ int link_set_bridge(Link *link) {
                         return log_link_error_errno(link, r, "Could not append IFLA_BRPORT_FAST_LEAVE attribute: %m");
         }
 
-        if (link->network->allow_port_to_be_root >=  0) {
+        if (link->network->allow_port_to_be_root >= 0) {
                 r = sd_netlink_message_append_u8(req, IFLA_BRPORT_PROTECT, link->network->allow_port_to_be_root);
                 if (r < 0)
                         return log_link_error_errno(link, r, "Could not append IFLA_BRPORT_PROTECT attribute: %m");
index cc4639aeaf73c177e8b97e57c4725bb4df1aa069..a80a6185dabb1c96eebe332d9c16f9143ff7d46c 100644 (file)
@@ -1662,7 +1662,7 @@ static int link_status_one(
                 r = table_add_many(table,
                                    TABLE_EMPTY,
                                    TABLE_STRING, "Mode:",
-                                   TABLE_STRING,  bond_mode_to_string(info->mode),
+                                   TABLE_STRING, bond_mode_to_string(info->mode),
                                    TABLE_EMPTY,
                                    TABLE_STRING, "Miimon:",
                                    TABLE_TIMESPAN_MSEC, jiffies_to_usec(info->miimon),
index 22bd06a891179bf7370e833666ec13b7b8c0d04e..f7021f3edb0e9df1efba417539cf4d7ee28784cd 100644 (file)
@@ -52,7 +52,7 @@ void network_apply_anonymize_if_set(Network *network) {
         /* RFC7844 section 3.6.:
          The client intending to protect its privacy SHOULD only request a
          minimal number of options in the PRL and SHOULD also randomly shuffle
-         the ordering of option codes in the PRL.  If this random ordering
+         the ordering of option codes in the PRL. If this random ordering
          cannot be implemented, the client MAY order the option codes in the
          PRL by option code number (lowest to highest).
         */
index 5f25acbdd63d439360e5b8056f62025b2be06da1..8a5afeab2d03c66a8dda71f8fadd2164daf9ea2c 100644 (file)
@@ -26,7 +26,7 @@ int tc_init(double *ret_ticks_in_usec, uint32_t *ret_hz) {
                 if (r < 4)
                         return -EIO;
 
-                clock_factor =  (double) clock_resolution / USEC_PER_SEC;
+                clock_factor = (double) clock_resolution / USEC_PER_SEC;
                 ticks_in_usec = (double) ticks_to_usec / usec_to_ticks * clock_factor;
         }
 
@@ -57,7 +57,7 @@ int tc_time_to_tick(usec_t t, uint32_t *ret) {
         return 0;
 }
 
-int parse_tc_percent(const char *s, uint32_t *percent)  {
+int parse_tc_percent(const char *s, uint32_t *percent) {
         int r;
 
         assert(s);
index 40a29f19aa0d098ffc529cf45539189114c5e2e1..6ab26d3ca98b1a35b4098cc0bffb3179910be239 100644 (file)
@@ -323,7 +323,7 @@ int manager_new(Manager **ret, Hashmap *interfaces, char **ignore,
         if (r < 0)
                 return r;
 
-        (void) sd_event_add_signal(m->event, NULL, SIGTERM, NULL,  NULL);
+        (void) sd_event_add_signal(m->event, NULL, SIGTERM, NULL, NULL);
         (void) sd_event_add_signal(m->event, NULL, SIGINT, NULL, NULL);
 
         if (timeout > 0) {