On Thu, 2020-09-10 at 18:54 +0800, lixiaokeng wrote:
> In handle_args, the tmp isn't used. We delete it.
> 
> Signed-off-by: Lixiaokeng <lixiaok...@huawei.com>
> Signed-off-by: Zhiqiang Liu <liuzhiqian...@huawei.com>
> Signed-off-by: Linfeilong <linfeil...@huawei.com>

Reviewed-by: Martin Wilck <mwi...@suse.com>


> ---
>  mpathpersist/main.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/mpathpersist/main.c b/mpathpersist/main.c
> index da67c15c..85453ac2 100644
> --- a/mpathpersist/main.c
> +++ b/mpathpersist/main.c
> @@ -211,7 +211,6 @@ static int handle_args(int argc, char * argv[],
> int nline)
>       int prout_sa = -1;
>       char *batch_fn = NULL;
>       void *resp = NULL;
> -     struct transportid * tmp;
> 
>       memset(transportids, 0, MPATH_MX_TIDS * sizeof(struct
> transportid));
> 



--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel

Reply via email to