Skip to content

Commit

Permalink
rimage: file_simple: remove dead code
Browse files Browse the repository at this point in the history
remove logically dead code

Signed-off-by: Adrian Bonislawski <adrian.bonislawski@intel.com>
(cherry picked from commit e30fedc)
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
  • Loading branch information
abonislawski authored and kv2019i committed Dec 12, 2023
1 parent 3f9067b commit 0c57a78
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tools/rimage/src/file_simple.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,7 @@ static int write_block(struct image *image, struct manifest_module *module,
section->header->name);

/* return padding size */
if (ret >= 0)
return padding;

return ret;
return padding;
}

/**
Expand Down

0 comments on commit 0c57a78

Please sign in to comment.