examples: api: glue: Remove comment that does not apply anymore

This comment is not true since commit 6215bd4c1f ("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>
This commit is contained in:
Marek Behún 2021-10-17 17:36:28 +02:00 committed by Simon Glass
parent dd1c5a7f80
commit 6aa652d008

View File

@ -365,11 +365,6 @@ const char * ub_env_enum(const char *last)
env = NULL; 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)) if (!syscall(API_ENV_ENUM, NULL, last, &env))
return NULL; return NULL;