Signed-off-by: Sascha Hauer <[email protected]>
---
 scripts/keytoc.c | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/scripts/keytoc.c b/scripts/keytoc.c
index b140160688..ecb33cbe47 100644
--- a/scripts/keytoc.c
+++ b/scripts/keytoc.c
@@ -664,17 +664,6 @@ int main(int argc, char *argv[])
                *path = 0;
                path++;
 
-               if (!strncmp(path, "__ENV__", 7)) {
-                       const char *orig_path = path;
-
-                       path = getenv(orig_path + 7);
-                       if (!path) {
-                               fprintf(stderr, "%s doesn't contain a path\n",
-                                       orig_path + 7);
-                               exit(1);
-                       }
-               }
-
                ret = gen_key(keyname, path);
                if (ret)
                        exit(1);
-- 
2.39.2


Reply via email to