diff options
author | Anna Karas <aka@semihalf.com> | 2020-07-16 14:12:30 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-08-04 07:13:59 +0000 |
commit | 215e7fc399bc75f67209a2ad9ac7c9c2b5a10150 (patch) | |
tree | db0ef42823237532766c9416ffcbbfed318ac7b3 /src/include/imd.h | |
parent | 93d678f8bea812c2d7ab5b4885971d0f9b25fd78 (diff) | |
download | coreboot-215e7fc399bc75f67209a2ad9ac7c9c2b5a10150.tar.xz |
src/lib: Remove unused function parameters in imd.c
Remove const struct imd *imd and const struct imdr *imdr parameters from
the prototypes of imdr_entry_size(), imd_entry_size() and imd_entry_id()
functions since they are not used anywhere.
Signed-off-by: Anna Karas <aka@semihalf.com>
Change-Id: I6b43e9a5ae1f1d108024b4060a04c57f5d77fb55
Reviewed-on: https://review.coreboot.org/c/coreboot/+/43999
Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/include/imd.h')
-rw-r--r-- | src/include/imd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/imd.h b/src/include/imd.h index 314d223341..7abbb9876d 100644 --- a/src/include/imd.h +++ b/src/include/imd.h @@ -102,13 +102,13 @@ const struct imd_entry *imd_entry_find_or_add(const struct imd *imd, uint32_t id, size_t size); /* Returns size of entry or 0 on failure. */ -size_t imd_entry_size(const struct imd *imd, const struct imd_entry *entry); +size_t imd_entry_size(const struct imd_entry *entry); /* Returns pointer to region described by entry or NULL on failure. */ void *imd_entry_at(const struct imd *imd, const struct imd_entry *entry); /* Returns id for the imd entry. */ -uint32_t imd_entry_id(const struct imd *imd, const struct imd_entry *entry); +uint32_t imd_entry_id(const struct imd_entry *entry); /* Attempt to remove entry from imd. */ int imd_entry_remove(const struct imd *imd, const struct imd_entry *entry); |