diff options
author | Simon Glass | 2023-12-27 13:07:04 -0800 |
---|---|---|
committer | Simon Glass | 2023-12-31 07:21:02 -0700 |
commit | 47e1047b0cc25269124737696971ab0c3187666d (patch) | |
tree | 3742dc1927ca552dc2eead9efa56fe4d08ccf6a5 | |
parent | 1f06ed41cc18943e379894c5a3c3f4e6b9de73e3 (diff) |
bloblist: Drop spare value from bloblist record
Drop spare value from bloblist record header.
For now it is still present in the header, with an underscore, so that
tests continue to pass.
Signed-off-by: Simon Glass <sjg@chromium.org>
Co-developed-by: Raymond Mao <raymond.mao@linaro.org>
Signed-off-by: Raymond Mao <raymond.mao@linaro.org>
-rw-r--r-- | common/bloblist.c | 1 | ||||
-rw-r--r-- | include/bloblist.h | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/common/bloblist.c b/common/bloblist.c index 168993e0a7b..88e2a0f5c06 100644 --- a/common/bloblist.c +++ b/common/bloblist.c @@ -165,7 +165,6 @@ static int bloblist_addrec(uint tag, int size, int align_log2, rec->tag = tag; rec->hdr_size = data_start - hdr->alloced; rec->size = size; - rec->spare = 0; /* Zero the record data */ memset((void *)rec + rec_hdr_size(rec), '\0', rec->size); diff --git a/include/bloblist.h b/include/bloblist.h index 7eff709ec8d..68f97395b78 100644 --- a/include/bloblist.h +++ b/include/bloblist.h @@ -205,13 +205,12 @@ struct bloblist_hdr { * record's data starts at this offset from the start of the record * @size: Size of record in bytes, excluding the header size. This does not * need to be aligned (e.g. 3 is OK). - * @spare: Spare space for other things */ struct bloblist_rec { u32 tag; u32 hdr_size; u32 size; - u32 spare; + u32 _spare; }; /** |