diff options
author | Oliver O'Halloran <oohall@gmail.com> | 2020-10-01 17:41:19 +1000 |
---|---|---|
committer | Oliver O'Halloran <oohall@gmail.com> | 2020-10-01 17:41:21 +1000 |
commit | b9cbe4f6f25de9e5a838bec5394a8384cb47ed40 (patch) | |
tree | a67b46f210ca1d0f348af14a25bb9cfbda297c32 | |
parent | 45f67b179e6c2a6be59c0305066dd4a0bcafd002 (diff) | |
download | skiboot-b9cbe4f6f25de9e5a838bec5394a8384cb47ed40.zip skiboot-b9cbe4f6f25de9e5a838bec5394a8384cb47ed40.tar.gz skiboot-b9cbe4f6f25de9e5a838bec5394a8384cb47ed40.tar.bz2 |
secvar/test: Remove broken initalizers
Some versions of GCC complain about this. That and since it's a static
global it goes in the BSS and is initialized to zero anyway.
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
-rw-r--r-- | libstb/secvar/storage/fakenv_ops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libstb/secvar/storage/fakenv_ops.c b/libstb/secvar/storage/fakenv_ops.c index 77ae6c3..224ac2a 100644 --- a/libstb/secvar/storage/fakenv_ops.c +++ b/libstb/secvar/storage/fakenv_ops.c @@ -15,8 +15,8 @@ struct fake_tpmnv { int defined[2]; } __attribute__((packed)); -static struct fake_tpmnv fakenv = {0}; -static int tpm_ready = 0; +static struct fake_tpmnv fakenv; +static int tpm_ready; static inline void *nv_index_address(int index) |