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>
This commit is contained in:
Patrick Georgi 2015-08-25 12:59:45 +02:00 committed by Patrick Georgi
parent 62c014bcf3
commit bc39690900
1 changed files with 1 additions and 3 deletions

View File

@ -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);