[Ocfs2-tools-devel] [PATCH] o2image: clean up unused variable 'install_flag' in o2image_initialize()
Joseph Qi
joseph.qi at huawei.com
Sun Jul 24 18:55:28 PDT 2016
On 2016/7/25 8:31, piaojun wrote:
> clean up unused variable 'install_flag' in o2image_initialize().
>
> Signed-off-by: Jun Piao <piaojun at huawei.com>
Looks good, thanks.
Reviewed-by: Joseph Qi <joseph.qi at huawei.com>
> ---
> o2image/o2image.c | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/o2image/o2image.c b/o2image/o2image.c
> index ce70fcb..ee62acf 100644
> --- a/o2image/o2image.c
> +++ b/o2image/o2image.c
> @@ -329,8 +329,7 @@ out:
> return ret;
> }
>
> -static errcode_t o2image_initialize(ocfs2_filesys *ofs, int raw_flag,
> - int install_flag)
> +static errcode_t o2image_initialize(ocfs2_filesys *ofs, int raw_flag)
> {
> uint64_t blocks[OCFS2_MAX_BACKUP_SUPERBLOCKS];
> struct ocfs2_super_block *super;
> @@ -772,7 +771,7 @@ int main(int argc, char **argv)
> goto out;
> }
>
> - ret = o2image_initialize(ofs, raw_flag, install_flag);
> + ret = o2image_initialize(ofs, raw_flag);
> if (ret) {
> com_err(program_name, ret, "during o2image initialize");
> goto out;
>
More information about the Ocfs2-tools-devel
mailing list