On Fri 26 Mar 2021 at 20:50, Qu Wenruo wrote:
In restore_metadump(), we call stat() but never uses the result
get.
This call site is left by some code refactor, as the stat() call
is now
moved into fixup_device_size().
fixup_device_size() already calls fstat() on out_fd.
Reviewed-by: S
In restore_metadump(), we call stat() but never uses the result get.
This call site is left by some code refactor, as the stat() call is now
moved into fixup_device_size().
So we can safely remove the call.
Signed-off-by: Qu Wenruo
---
image/main.c | 8
1 file changed, 8 deletions(-)