diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-07-15 01:59:14 +0900 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-07-15 18:41:27 +0200 |
commit | 8cec0a5c32c22c8982d4cb2a1f953ed0d0a36589 (patch) | |
tree | 4f12b44280ee1b869c7cc6777d421729307863a2 /src/udev | |
parent | 8eb0cafeb0aa6687e02f45e92e60fdbad7c485c0 (diff) | |
download | systemd-8cec0a5c32c22c8982d4cb2a1f953ed0d0a36589.tar.gz |
tree-wide: drop duplicated blank lines
```
$ for i in */*.[ch] */*/*.[ch]; do sed -e '/^$/ {N; s/\n$//g}' -i $i; done
$ git checkout HEAD -- basic/linux shared/linux
```
Diffstat (limited to 'src/udev')
-rw-r--r-- | src/udev/net/link-config.c | 1 | ||||
-rw-r--r-- | src/udev/udev-rules.c | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/src/udev/net/link-config.c b/src/udev/net/link-config.c index d05aa6e6ca..d44af64d5e 100644 --- a/src/udev/net/link-config.c +++ b/src/udev/net/link-config.c @@ -385,7 +385,6 @@ int link_config_apply(link_config_ctx *ctx, link_config *config, if (r < 0) return log_device_warning_errno(device, r, "Could not find ifindex: %m"); - (void) link_unsigned_attribute(device, "name_assign_type", &name_type); if (IN_SET(name_type, NET_NAME_USER, NET_NAME_RENAMED) diff --git a/src/udev/udev-rules.c b/src/udev/udev-rules.c index e9a6453b6c..64b0b9b102 100644 --- a/src/udev/udev-rules.c +++ b/src/udev/udev-rules.c @@ -31,7 +31,6 @@ #define RULES_DIRS (const char* const*) CONF_PATHS_STRV("udev/rules.d") - typedef enum { OP_MATCH, /* == */ OP_NOMATCH, /* != */ @@ -176,7 +175,6 @@ struct UdevRules { LIST_HEAD(UdevRuleFile, rule_files); }; - /*** Logging helpers ***/ #define log_rule_full(device, rules, level, error, fmt, ...) \ |