tree-wide: drop doubled empty lines

This commit is contained in:
Yu Watanabe
2024-10-07 09:51:37 +02:00
committed by Daan De Meyer
parent 1faf2e5332
commit f769518c9a
62 changed files with 0 additions and 69 deletions
-1
View File
@@ -15,7 +15,6 @@
* compile time is that we can then load either the old or the new symbols at runtime
* regardless of the version we were compiled with */
/* declare the struct for libbpf <= 0.6.0 -- it causes no harm on newer versions */
struct bpf_map_create_opts;
-1
View File
@@ -138,7 +138,6 @@ int bpf_program_new_from_bpffs_path(const char *path, BPFProgram **ret) {
return 0;
}
int bpf_program_add_instructions(BPFProgram *p, const struct bpf_insn *instructions, size_t count) {
assert(p);
-1
View File
@@ -509,7 +509,6 @@ int get_credential_host_secret(CredentialSecretFlags flags, struct iovec *ret) {
return log_debug_errno(errno,
"Failed to open %s/%s: %m", dirname, filename);
r = make_credential_host_secret(dfd, machine_id, flags, dirname, filename, ret);
if (r == -EEXIST) {
log_debug_errno(r, "Credential secret %s/%s appeared while we were creating it, rereading.",
-1
View File
@@ -620,7 +620,6 @@ static int nft_add_element(
assert(key);
assert(data || dlen == 0);
/*
* Ideally there would be an API that provides:
*
-1
View File
@@ -45,7 +45,6 @@ int id128_pretty_print_sample(const char *name, sd_id128_t id) {
return 0;
}
int id128_pretty_print(sd_id128_t id, Id128PrettyPrintMode mode) {
assert(mode >= 0);
assert(mode < _ID128_PRETTY_PRINT_MODE_MAX);
-2
View File
@@ -1410,7 +1410,6 @@ typedef int (*output_func_t)(
dual_timestamp *previous_display_ts,
sd_id128_t *previous_boot_id);
static output_func_t output_funcs[_OUTPUT_MODE_MAX] = {
[OUTPUT_SHORT] = output_short,
[OUTPUT_SHORT_ISO] = output_short,
@@ -1701,7 +1700,6 @@ int add_matches_for_user_unit_full(sd_journal *j, bool all, const char *unit) {
(r = sd_journal_add_match(j, "_UID=0", SIZE_MAX))
);
if (r == 0 && all && endswith(unit, ".slice"))
/* Show all messages belonging to a slice */
(void) (
-2
View File
@@ -331,7 +331,6 @@ static inline int run_test_table(void) {
} \
})
#define ASSERT_FAIL(expr) \
({ \
typeof(expr) _result = (expr); \
@@ -535,7 +534,6 @@ static inline int run_test_table(void) {
} \
})
#define ASSERT_EQ_ID128(expr1, expr2) \
({ \
typeof(expr1) _expr1 = (expr1); \
-1
View File
@@ -911,7 +911,6 @@ int groupdb_by_name(const char *name, UserDBFlags flags, GroupRecord **ret) {
return r;
}
if (!FLAGS_SET(flags, USERDB_EXCLUDE_NSS) && !(iterator && iterator->nss_covered)) {
r = userdb_iterator_block_nss_systemd(iterator);
if (r >= 0) {