tools/env: Don't call env_init() in fw_getenv()
authorJoe Hershberger <joe.hershberger@ni.com>
Wed, 3 Oct 2012 09:38:48 +0000 (09:38 +0000)
committerTom Rini <trini@ti.com>
Mon, 15 Oct 2012 18:54:05 +0000 (11:54 -0700)
commitd9acae1a880a52b3a6ad24af8c7f8312e59ea9b1
treecdbf152954b3116bd9856deb5487953a1c68ff49
parent62a34a04e7259ea1562749de3b0e35e94386b37b
tools/env: Don't call env_init() in fw_getenv()

We will only call fw_getenv when the env has already been initialized.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
tools/env/fw_env.c