Remove redundant err message regarding failed read

Get rid of the extra error message it prints if it cannot find the
desired variable in hnvram. It is especially confusing in the case where
the user wants to write an hnvram variable for the first time. The
output contains the word error even though the write operation was
successful. Per design, the hnvram command tries to read a given
variable first before it tries to write to it.

GSAFSJ1341E0111# hnvram -r EXTRA_KERNEL_OPT
[HMX_NVRAM_GetField] field(17)-EXTRA_KERNEL_OPT error(00000002) :
HMX_NVRAM_Read
Unable to read EXTRA_KERNEL_OPT
GSAFSJ1341E0111#

GSAFSJ1341E0111# hnvram -w EXTRA_KERNEL_OPT=foo
[HMX_NVRAM_GetField] field(17)-EXTRA_KERNEL_OPT error(00000002) :
HMX_NVRAM_Read
GSAFSJ1341E0111#

Change-Id: I1ae14758d2eeaac1f5c71cdd873e2189b52f3fb2
1 file changed
tree: 464b56e3737727a933958c503fe8221b2f2baa34
  1. libupgrade/
  2. makehdf