[coreboot-gerrit] New patch to review for coreboot: cbfstool: drop unused arguments in internal function

Patrick Georgi (pgeorgi@google.com) gerrit at coreboot.org
Tue Aug 25 16:01:16 CEST 2015


Patrick Georgi (pgeorgi at google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/11321

-gerrit

commit d50b169cac5c9c52c98aaee3e78fa6730788e925
Author: Patrick Georgi <patrick at georgi-clan.de>
Date:   Tue Aug 25 12:59:45 2015 +0200

    cbfstool: drop unused arguments in internal function
    
    Change-Id: Ie4edc5f9c96ffba7dcf8b974c56851658b9538e4
    Signed-off-by: Patrick Georgi <patrick at georgi-clan.de>
---
 util/cbfstool/cbfs_image.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/util/cbfstool/cbfs_image.c b/util/cbfstool/cbfs_image.c
index 525547d..8662158 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);



More information about the coreboot-gerrit mailing list