tree-wide: drop double newline

This commit is contained in:
Yu Watanabe 2019-11-01 18:33:24 +09:00
parent 8cb28504a5
commit 8e1e87a5de
17 changed files with 0 additions and 19 deletions

View file

@ -1,6 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#include "format-util.h"
#include "memory-util.h"
#include "stdio-util.h"

View file

@ -1,6 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#include "login-util.h"
#include "string-util.h"

View 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;
}

View 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.");
}

View 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;

View 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;

View 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;

View 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);

View 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;

View 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 {

View 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,

View 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;

View file

@ -1,6 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#include "alloc-util.h"
#include "calendarspec.h"
#include "errno-util.h"

View file

@ -1,6 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#include "alloc-util.h"
#include "string-util.h"
#include "tests.h"

View file

@ -1,6 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#include "env-util.h"
#include "fd-util.h"
#include "fileio.h"

View file

@ -1,6 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#include "alloc-util.h"
#include "escape.h"
#include "nulstr-util.h"

View 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;