[Ocfs2-tools-devel] [PATCH 1/2] debugfs.ocfs2: avoid dead code
    Sunil Mushran 
    sunil.mushran at oracle.com
       
    Mon Sep 19 09:03:43 PDT 2011
    
    
  
NAK... reason provided in an earlier email.
On 09/19/2011 08:27 AM, chuanchang.jia at gmail.com wrote:
> debugfs.ocfs2/main.c: avoid dead code.
>
> Signed-off-by: Alex Jia<chuanchang.jia at gmail.com>
> ---
>   debugfs.ocfs2/main.c |    3 +--
>   1 files changed, 1 insertions(+), 2 deletions(-)
>
> diff --git a/debugfs.ocfs2/main.c b/debugfs.ocfs2/main.c
> index cab679f..097f170 100644
> --- a/debugfs.ocfs2/main.c
> +++ b/debugfs.ocfs2/main.c
> @@ -525,8 +525,7 @@ int main(int argc, char **argv)
>   	}
>
>   bail:
> -	if (cmd)
> -		fclose(cmd);
> +	fclose(cmd);
>   	if (opts.cmd_file)
>   		free(opts.cmd_file);
>   	if (opts.device)
    
    
More information about the Ocfs2-tools-devel
mailing list