diff options
author | Patrick Georgi <patrick@georgi-clan.de> | 2015-08-25 12:59:45 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-08-26 12:20:39 +0000 |
commit | bc39690900a5d7a73a215e103c49c513c0c11333 (patch) | |
tree | f71cdfc6d457a2e43d007f6341c241f8952a0421 | |
parent | 62c014bcf3717cacb7ba0dd5e4c9cb1b6e425cd2 (diff) |
cbfstool: drop unused arguments in internal function
Change-Id: Ie4edc5f9c96ffba7dcf8b974c56851658b9538e4
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-on: http://review.coreboot.org/11321
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
-rw-r--r-- | util/cbfstool/cbfs_image.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/util/cbfstool/cbfs_image.c b/util/cbfstool/cbfs_image.c index 525547ddcd..866215854c 100644 --- a/util/cbfstool/cbfs_image.c +++ b/util/cbfstool/cbfs_image.c @@ -456,8 +456,6 @@ int cbfs_image_delete(struct cbfs_image *image) static int cbfs_add_entry_at(struct cbfs_image *image, struct cbfs_file *entry, uint32_t size, - const char *name unused, - uint32_t type unused, const void *data, uint32_t content_offset, const void *header_data, @@ -613,7 +611,7 @@ int cbfs_add_entry(struct cbfs_image *image, struct buffer *buffer, struct cbfs_file *header = cbfs_create_file_header(type, buffer->size, name); - if (cbfs_add_entry_at(image, entry, buffer->size, name, type, + if (cbfs_add_entry_at(image, entry, buffer->size, buffer->data, content_offset, header, header_size) == 0) { free(header); |