aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Vasut2024-07-13 15:19:19 +0200
committerTom Rini2024-07-15 12:12:17 -0600
commitd9db7a847546720b7b0879baf3c2ecc85dc1c5ec (patch)
tree4948da6555a00aefaf2304a766650f3302ab74fd
parente794b99c0d18274b0cc72d4673485cd53a7b2c91 (diff)
env: Remove duplicate newlines
Drop all duplicate newlines. No functional change. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
-rw-r--r--env/common.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/env/common.c b/env/common.c
index d8c276dddfd..8d47d726059 100644
--- a/env/common.c
+++ b/env/common.c
@@ -394,7 +394,6 @@ void env_set_default(const char *s, int flags)
gd->flags |= GD_FLG_ENV_DEFAULT;
}
-
/* [re]set individual variables to their value in the default environment */
int env_set_default_vars(int nvars, char * const vars[], int flags)
{
@@ -588,7 +587,6 @@ int env_complete(char *var, int maxv, char *cmdv[], int bufsz, char *buf,
found = 0;
cmdv[0] = NULL;
-
while ((idx = hmatch_r(var, idx, &match, &env_htab))) {
int vallen = strlen(match->key) + 1;