summaryrefslogtreecommitdiff
path: root/tools/rkcommon.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/rkcommon.c')
-rw-r--r--tools/rkcommon.c1
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;
}