From d9c1c43e678f93e1bda7478870c615f54a01e7b7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Fri, 13 Dec 2019 18:42:54 +0100 Subject: [PATCH] shared/install: remove duplicated check install_info_add() does the exact same check. --- src/shared/install.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/shared/install.c b/src/shared/install.c index 56806609280..53446611be8 100644 --- a/src/shared/install.c +++ b/src/shared/install.c @@ -1138,9 +1138,6 @@ static int config_parse_also( if (r < 0) return r; - if (!unit_name_is_valid(printed, UNIT_NAME_ANY)) - return -EINVAL; - r = install_info_add(c, printed, NULL, true, &alsoinfo); if (r < 0) return r; -- 2.47.3