diff options
author | Sol Boucher <solb@chromium.org> | 2015-05-07 21:00:05 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-07-16 17:39:49 +0200 |
commit | 5bb90e69998e10d828896f72aaee389daf5fcc5c (patch) | |
tree | f5e587752ef9eb69715d03c086689c202b65d569 /util/cbfstool | |
parent | ec42486055fa317e84232115c9b83c1414f48b20 (diff) | |
download | coreboot-5bb90e69998e10d828896f72aaee389daf5fcc5c.tar.xz |
cbfstool: Remove extra comma after {0, NULL} list element
Trailing commas are useful for lists that can be extended. These lists are
0-terminated, and there should be no elements following that.
Change-Id: Iea8c6d5579d6363e77e1f5af666948160c4a9bf9
Signed-off-by: Sol Boucher <solb@chromium.org>
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Change-Id: I1a117a9473e895feaf455bb30d0f945f57de51eb
Original-Signed-off-by: Sol Boucher <solb@chromium.org>
Reviewed-on: http://review.coreboot.org/10932
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'util/cbfstool')
-rw-r--r-- | util/cbfstool/cbfs_image.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/cbfstool/cbfs_image.c b/util/cbfstool/cbfs_image.c index f5fddcbe43..828d367e0f 100644 --- a/util/cbfstool/cbfs_image.c +++ b/util/cbfstool/cbfs_image.c @@ -77,13 +77,13 @@ static const struct typedesc_t types_cbfs_entry[] = { {CBFS_COMPONENT_MRC_CACHE, "mrc_cache"}, {CBFS_COMPONENT_DELETED, "deleted"}, {CBFS_COMPONENT_NULL, "null"}, - {0, NULL}, + {0, NULL} }; static const struct typedesc_t types_cbfs_compression[] = { {CBFS_COMPRESS_NONE, "none"}, {CBFS_COMPRESS_LZMA, "LZMA"}, - {0, NULL}, + {0, NULL} }; static const char *lookup_name_by_type(const struct typedesc_t *desc, uint32_t type, |