summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMarek BehĂșn <marek.behun@nic.cz>2021-10-17 17:36:28 +0200
committerSimon Glass <sjg@chromium.org>2021-10-21 12:50:48 -0600
commit6aa652d008398fa7db99b7d570bc6f0123dcd9b5 (patch)
treec9a6900a6f3f615f3bd7a899dc3d0a57da0a7d8a /examples
parentdd1c5a7f80baf69ac94122acb3202bdcf14fec92 (diff)
examples: api: glue: Remove comment that does not apply anymore
This comment is not true since commit 6215bd4c1fd6 ("api: Use hashtable function for API_env_enum"). Signed-off-by: Marek BehĂșn <marek.behun@nic.cz> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'examples')
-rw-r--r--examples/api/glue.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/examples/api/glue.c b/examples/api/glue.c
index 91d13157a1..075d307ae2 100644
--- a/examples/api/glue.c
+++ b/examples/api/glue.c
@@ -365,11 +365,6 @@ const char * ub_env_enum(const char *last)
env = NULL;
- /*
- * It's OK to pass only the name piece as last (and not the whole
- * 'name=val' string), since the API_ENUM_ENV call uses env_match()
- * internally, which handles such case
- */
if (!syscall(API_ENV_ENUM, NULL, last, &env))
return NULL;