Marek Behún
a80652ebb3
env: Simplify env_match() and inline into env_get_f()
...
In the past the env_match() function was used to match envs with
- name, i.e. string "name"
- variable assignment, i.e. string "name=other_value"
The latter is not the case anymore, since the env_match() function is
now used only in env_get_f(), and so we can simplify the function into
a simple strncmp() with an additional comparison to '='.
Let's do this, and since the resulting function is quite simple, let's
also inline its code into env_get_f().
Signed-off-by: Marek Behún <marek.behun@nic.cz >
Reviewed-by: Simon Glass <sjg@chromium.org >
2021-10-21 12:50:48 -06:00
..
2021-09-16 10:29:40 -04:00
2021-10-07 16:08:23 +08:00
2021-08-02 13:32:14 -04:00
2021-08-02 21:35:50 -04:00
2021-08-02 13:32:14 -04:00
2021-08-02 13:32:14 -04:00
2021-09-30 08:08:56 -04:00
2021-10-12 14:19:52 +02:00
2021-08-02 13:32:14 -04:00
2021-08-02 13:32:14 -04:00
2021-08-04 15:58:31 -04:00
2021-08-02 13:32:14 -04:00
2021-08-26 08:08:11 +02:00
2021-08-02 13:32:14 -04:00
2021-08-02 13:32:14 -04:00
2021-09-30 09:08:16 -04:00
2021-08-02 13:32:14 -04:00
2021-08-30 14:10:07 -04:00
2021-08-02 13:32:14 -04:00
2021-08-30 14:10:07 -04:00
2021-08-02 13:32:14 -04:00
2021-09-27 21:38:34 -04:00
2021-08-02 13:32:14 -04:00
2021-08-02 13:32:14 -04:00
2021-08-02 13:32:14 -04:00
2021-08-30 14:10:07 -04:00
2021-09-16 10:29:40 -04:00
2021-08-02 13:32:14 -04:00
2021-08-02 13:32:14 -04:00
2021-09-03 14:32:41 -04:00
2021-08-02 13:32:14 -04:00
2021-08-02 13:32:14 -04:00
2021-08-02 13:32:14 -04:00
2021-09-10 18:17:04 +08:00
2021-08-02 13:32:14 -04:00
2021-08-04 15:58:31 -04:00
2021-10-06 09:16:23 -04:00
2021-09-11 11:02:02 +02:00
2021-10-21 12:50:48 -06:00
2021-08-02 13:32:14 -04:00
2021-08-02 13:32:14 -04:00
2021-08-02 13:32:14 -04:00
2021-10-14 19:45:07 -04:00
2021-08-02 13:32:14 -04:00
2021-09-30 08:08:56 -04:00
2021-08-26 08:08:11 +02:00
2021-08-31 17:46:37 -04:00
2021-08-02 13:32:14 -04:00
2021-08-02 13:32:14 -04:00
2021-08-02 13:32:14 -04:00
2021-09-30 08:08:56 -04:00
2021-08-02 13:32:14 -04:00
2021-09-30 08:08:56 -04:00
2021-08-02 13:32:14 -04:00
2021-09-30 09:08:16 -04:00
2021-09-24 14:30:46 -04:00
2021-10-21 07:39:05 +02:00
2021-08-02 13:32:14 -04:00
2021-08-02 13:32:14 -04:00
2021-10-09 13:09:56 -04:00
2021-08-02 13:32:14 -04:00
2021-09-17 12:10:44 -04:00
2021-08-02 13:32:14 -04:00