]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
tree-wide: drop double newline
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 1 Nov 2019 09:33:24 +0000 (18:33 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 3 Nov 2019 15:30:32 +0000 (00:30 +0900)
17 files changed:
src/basic/format-util.c
src/basic/login-util.c
src/busctl/busctl.c
src/core/swap.c
src/libsystemd/sd-netlink/generic-netlink.c
src/network/networkctl.c
src/network/networkd-link.h
src/shared/cgroup-setup.c
src/shared/efi-loader.c
src/shared/ethtool-util.c
src/shared/ethtool-util.h
src/systemctl/systemctl.c
src/test/test-calendarspec.c
src/test/test-date.c
src/test/test-env-util.c
src/test/test-strv.c
src/test/test-unit-file.c

index 1a73225951ae3692fe4ab80e5faba3ba3708145b..b4144e03521498f0adda6fe99b6d7aa667993a93 100644 (file)
@@ -1,6 +1,5 @@
 /* SPDX-License-Identifier: LGPL-2.1+ */
 
-
 #include "format-util.h"
 #include "memory-util.h"
 #include "stdio-util.h"
index 5c8e557c886e7e7811a1d4b46f79f42f7c7c1e65..9313926d5a7dece21628a43c43a5806beaaa725a 100644 (file)
@@ -1,6 +1,5 @@
 /* SPDX-License-Identifier: LGPL-2.1+ */
 
-
 #include "login-util.h"
 #include "string-util.h"
 
index 8475c5bfddc5e7bb5e8129aed66ccb3a26337ee0..3ed8f21c96e7ccd9efe19609e5b31541480ad59f 100644 (file)
@@ -342,8 +342,6 @@ static int list_bus_names(int argc, char **argv, void *userdata) {
         if (r < 0)
                 return log_error_errno(r, "Failed to show table: %m");
 
-
-
         return 0;
 }
 
index c184afa29dff00cd6aeb85fe3b66c761a7b2bbce..e4b018616d90b417cd0ed3da41e5ed381efeedea 100644 (file)
@@ -727,7 +727,6 @@ static void swap_enter_signal(Swap *s, SwapState state, SwapResult f) {
         if (s->result == SWAP_SUCCESS)
                 s->result = f;
 
-
         r = unit_kill_context(UNIT(s),
                               &s->kill_context,
                               state_to_kill_operation(s, state),
@@ -929,7 +928,6 @@ static int swap_stop(Unit *u) {
                 swap_enter_signal(s, SWAP_DEACTIVATING_SIGKILL, SWAP_SUCCESS);
                 return 0;
 
-
         default:
                 assert_not_reached("Unexpected state.");
         }
index 2576f4831d36bccb333f89dbda2022798d2b18f6..b4971da323db89ca61c6183650a78daaa1d65bbd 100644 (file)
@@ -99,7 +99,6 @@ static int lookup_id(sd_netlink *nl, sd_genl_family family, uint16_t *id) {
                 return 0;
         }
 
-
         r = sd_genl_message_new(nl, SD_GENL_ID_CTRL, CTRL_CMD_GETFAMILY, &req);
         if (r < 0)
                 return r;
index 5a8740883b428be6bb10eef482ca852e57a837c5..a43a179cbf3a89673e55cddb4f1090acf9779ae6 100644 (file)
@@ -1812,7 +1812,6 @@ static int link_renew(int argc, char *argv[], void *userdata) {
         return k;
 }
 
-
 static int verb_reload(int argc, char *argv[], void *userdata) {
         _cleanup_(sd_bus_error_free) sd_bus_error error = SD_BUS_ERROR_NULL;
         _cleanup_(sd_bus_flush_close_unrefp) sd_bus *bus = NULL;
index 0b6232602425df5bbe4e5d4f4cf7abc1b318a13a..c8b8241ff192862908efb78486fca7ac5a59f803 100644 (file)
@@ -145,7 +145,6 @@ typedef struct Link {
         struct rtnl_link_stats64 stats_old, stats_new;
         bool stats_updated;
 
-
         /* All kinds of DNS configuration */
         struct in_addr_data *dns;
         unsigned n_dns;
index ddcd156801ced342633de8538978d41a5856119e..e8398cbde5ba7fdba370453b4cdfc9a5b8d9da11 100644 (file)
@@ -149,7 +149,6 @@ int cg_blkio_weight_parse(const char *s, uint64_t *ret) {
         return 0;
 }
 
-
 static int trim_cb(const char *path, const struct stat *sb, int typeflag, struct FTW *ftwbuf) {
         assert(path);
         assert(sb);
index 46e187000f56ca079a8110fd130e84432e735f1c..3d1df09907f6c01d56b57ff649b3db8364d33b2f 100644 (file)
@@ -181,7 +181,6 @@ int efi_set_reboot_to_firmware(bool value) {
         return 0;
 }
 
-
 static ssize_t utf16_size(const uint16_t *s, size_t buf_len_bytes) {
         size_t l = 0;
 
index e29b81f1329f1f76e6af540656430d9f95e8585d..8fec1a83f072a376e9e586b9a1e0b0a1e50a599a 100644 (file)
@@ -411,7 +411,6 @@ int ethtool_set_nic_buffer_size(int *fd, const char *ifname, netdev_ring_param *
         return 0;
 }
 
-
 static int get_stringset(int fd, struct ifreq *ifr, int stringset_id, struct ethtool_gstrings **gstrings) {
         _cleanup_free_ struct ethtool_gstrings *strings = NULL;
         struct {
index 5dd78008529e5d42608a6fa37ff1e11741db8160..d408bcd90a0b514deed5be6d3d3046a4abe22fc5 100644 (file)
@@ -87,7 +87,6 @@ typedef struct netdev_ring_param {
         bool tx_pending_set;
 } netdev_ring_param;
 
-
 int ethtool_get_driver(int *fd, const char *ifname, char **ret);
 int ethtool_get_link_info(int *fd, const char *ifname,
                           int *ret_autonegotiation, size_t *ret_speed,
index 257b6d9f125459b5b69b36cd8ca22a795801cf22..b2dafd731b4e827ceb8bcc4332c2be1e33ffc80b 100644 (file)
@@ -804,7 +804,6 @@ static int expand_names(sd_bus *bus, char **names, const char* suffix, char ***r
         return 0;
 }
 
-
 static int list_units(int argc, char *argv[], void *userdata) {
         _cleanup_free_ UnitInfo *unit_infos = NULL;
         _cleanup_(message_set_freep) Set *replies = NULL;
index 07987996c7f794b46f28c1e9798c8f6b3654fa2c..899e4b5d27775767ad10b5be9c526fb263aad42a 100644 (file)
@@ -1,6 +1,5 @@
 /* SPDX-License-Identifier: LGPL-2.1+ */
 
-
 #include "alloc-util.h"
 #include "calendarspec.h"
 #include "errno-util.h"
index 6c6efc349ab5752d085b4362a11927beed3ecacd..7d27cfa703d4311653327d383750fb2e50cc2fed 100644 (file)
@@ -1,6 +1,5 @@
 /* SPDX-License-Identifier: LGPL-2.1+ */
 
-
 #include "alloc-util.h"
 #include "string-util.h"
 #include "tests.h"
index cb4ee7a576615b0d7d155e99e4a8ed9f434e69b4..f0ffe89729b069617b6d85b611c1ef81a12151d3 100644 (file)
@@ -1,6 +1,5 @@
 /* SPDX-License-Identifier: LGPL-2.1+ */
 
-
 #include "env-util.h"
 #include "fd-util.h"
 #include "fileio.h"
index bc61fc92018a45ed2db08990a89d2930128b42ca..f31ea6f8c61cf6b86efc4c8757ac4509029cb538 100644 (file)
@@ -1,6 +1,5 @@
 /* SPDX-License-Identifier: LGPL-2.1+ */
 
-
 #include "alloc-util.h"
 #include "escape.h"
 #include "nulstr-util.h"
index f0186b078f0cfac6af0a9123a93ca8cfefb74b15..6021164739d3709763ccf9063bae4d97d60ef3e4 100644 (file)
@@ -56,7 +56,6 @@ static void test_unit_file_build_name_map(char **ids) {
         if (r == 0)
                 log_debug("Cache rebuild skipped based on mtime.");
 
-
         char **id;
         STRV_FOREACH(id, ids) {
                  const char *fragment, *name;