commit | d91a8a5dfd500cb48fbfd004d0031340c312c761 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Thu Aug 03 12:22:04 2017 -0600 |
committer | Tom Rini <trini@konsulko.com> | Tue Aug 15 20:50:28 2017 -0400 |
tree | a193900623bfc951c11239daf3409be84622a79c | |
parent | d8273ed6b2aec9ed3009c9d73acada3971bdf7fa [diff] |
env: Drop unused env_ptr variables This variable is declared as a global in most environment location drivers. But it is not used outside the drivers and most of the declarations are unnecessary. Also some drivers call free() on env_ptr which seems wrong since it is not in the heap. Drop the variable where possible, and all calls to free(). Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>