diff options
author | Philipp Tomsich <philipp.tomsich@theobroma-systems.com> | 2017-04-19 15:09:04 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-04-27 16:49:03 -0400 |
commit | 17873341af56847382495f3d9f5a4121aeb9a03b (patch) | |
tree | e8bcdbe7b4d6367771df5fb0671520fa8029fd23 /tools | |
parent | a1b343d754dd153a9bcd884b30a352714676e468 (diff) | |
download | u-boot-17873341af56847382495f3d9f5a4121aeb9a03b.tar.gz |
rockchip: mkimage: remove (left-over) assignment w/o effect [coverity]
An assignment (of a value to itself) was left over (after removing and
addition from the line) from moving the common padding code into
rkcommon_vrec_header.
This change removes this to avoid a spurious warning in static code
analysis (i.e. Coverity).
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reported-by: Coverity (CID: 161418)
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/rkcommon.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/rkcommon.c b/tools/rkcommon.c index 6cdb749c4c..b34373e8fc 100644 --- a/tools/rkcommon.c +++ b/tools/rkcommon.c @@ -227,5 +227,4 @@ void rkcommon_vrec_header(struct image_tool_params *params, /* Allocate, clear and install the header */ tparams->hdr = malloc(tparams->header_size); memset(tparams->hdr, 0, tparams->header_size); - tparams->header_size = tparams->header_size; } |