examples: api: glue: Remove comment that does not apply anymore
authorMarek Behún <marek.behun@nic.cz>
Sun, 17 Oct 2021 15:36:28 +0000 (17:36 +0200)
committerSimon Glass <sjg@chromium.org>
Thu, 21 Oct 2021 18:50:48 +0000 (12:50 -0600)
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>
examples/api/glue.c

index 91d1315..075d307 100644 (file)
@@ -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;