Skip to content

Commit

Permalink
examples: api: glue: Remove comment that does not apply anymore
Browse files Browse the repository at this point in the history
This comment is not true since commit 6215bd4 ("api: Use hashtable
function for API_env_enum").

Signed-off-by: Marek Behún <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
  • Loading branch information
elkablo authored and sjg20 committed Oct 21, 2021
1 parent dd1c5a7 commit 6aa652d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions examples/api/glue.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 6aa652d

Please sign in to comment.