tree-wide: drop spurious newlines (#8764)
Double newlines (i.e. one empty lines) are great to structure code. But let's avoid triple newlines (i.e. two empty lines), quadruple newlines, quintuple newlines, …, that's just spurious whitespace. It's an easy way to drop 121 lines of code, and keeps the coding style of our sources a bit tigther.
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
6360b8ff83
commit
5d13a15b1d
@@ -855,7 +855,6 @@ static const char *table_data_format(TableData *d) {
|
||||
assert_not_reached("Unexpected type?");
|
||||
}
|
||||
|
||||
|
||||
return d->formatted;
|
||||
}
|
||||
|
||||
|
||||
@@ -24,7 +24,6 @@ const struct hash_ops string_hash_ops = {
|
||||
.compare = string_compare_func
|
||||
};
|
||||
|
||||
|
||||
void path_hash_func(const void *p, struct siphash *state) {
|
||||
const char *q = p;
|
||||
size_t n;
|
||||
|
||||
@@ -856,7 +856,6 @@ const char *mount_propagation_flags_to_string(unsigned long flags) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
int mount_propagation_flags_from_string(const char *name, unsigned long *ret) {
|
||||
|
||||
if (isempty(name))
|
||||
|
||||
@@ -109,7 +109,6 @@ void initialize_srand(void) {
|
||||
#endif
|
||||
x = 0;
|
||||
|
||||
|
||||
x ^= (unsigned) now(CLOCK_REALTIME);
|
||||
x ^= (unsigned) gettid();
|
||||
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
Copyright 2010 Lennart Poettering
|
||||
***/
|
||||
|
||||
|
||||
#include <sys/time.h>
|
||||
|
||||
#include "macro.h"
|
||||
|
||||
@@ -315,7 +315,6 @@ char* mac_selinux_free(char *label) {
|
||||
if (!mac_selinux_use())
|
||||
return NULL;
|
||||
|
||||
|
||||
freecon(label);
|
||||
#endif
|
||||
|
||||
|
||||
@@ -664,7 +664,6 @@ int sockaddr_pretty(const struct sockaddr *_sa, socklen_t salen, bool translate_
|
||||
return -EOPNOTSUPP;
|
||||
}
|
||||
|
||||
|
||||
*ret = p;
|
||||
return 0;
|
||||
}
|
||||
@@ -1127,7 +1126,6 @@ int flush_accept(int fd) {
|
||||
};
|
||||
int r;
|
||||
|
||||
|
||||
/* Similar to flush_fd() but flushes all incoming connection by accepting them and immediately closing them. */
|
||||
|
||||
for (;;) {
|
||||
|
||||
Reference in New Issue
Block a user