diff --git a/tools/rkcommon.c b/tools/rkcommon.c index 6cdb749c4ca80018898b038d870817f26c08d9f3..b34373e8fcd95e387a1c0ed00a24150997374c85 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; }