diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2020-09-14 11:30:58 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2020-09-15 04:29:38 +0200 |
commit | 7f67b01e3f81029a64c2bb46e2fb57fae6c9d505 (patch) | |
tree | 08d9ae4ac254d279e37aaeb33248eb8056370e58 /src | |
parent | udev: allow to match OriginalName= with renamed interface name (diff) | |
download | systemd-7f67b01e3f81029a64c2bb46e2fb57fae6c9d505.tar.xz systemd-7f67b01e3f81029a64c2bb46e2fb57fae6c9d505.zip |
udev: do not update return value on failure
Diffstat (limited to 'src')
-rw-r--r-- | src/udev/net/link-config.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/udev/net/link-config.c b/src/udev/net/link-config.c index cb1db3b52b..c23c2bdd20 100644 --- a/src/udev/net/link-config.c +++ b/src/udev/net/link-config.c @@ -287,7 +287,6 @@ int link_config_get(link_config_ctx *ctx, sd_device *device, link_config **ret) } } - *ret = NULL; return -ENOENT; } |