From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Marzinski Subject: Re: [PATCH 14/14] multipathpersist: delete unused variable in handle_args Date: Fri, 4 Sep 2020 19:14:25 -0500 Message-ID: <20200905001425.GJ11108@octiron.msp.redhat.com> References: <37544d4c-950f-4281-3b66-e4d1884c5167@huawei.com> <829f930f-f426-bcd6-602d-26959accaef7@huawei.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <829f930f-f426-bcd6-602d-26959accaef7@huawei.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com Content-Disposition: inline To: lixiaokeng Cc: linfeilong , dm-devel mailing list , Martin Wilck , "liuzhiqiang (I)" List-Id: dm-devel.ids On Wed, Sep 02, 2020 at 03:26:29PM +0800, lixiaokeng wrote: > In handle_args, the tmp isn't used. We delete it. > Reviewed-by: Benjamin Marzinski > Signed-off-by: Lixiaokeng > Signed-off-by: Zhiqiang Liu > Signed-off-by: Linfeilong > --- > mpathpersist/main.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/mpathpersist/main.c b/mpathpersist/main.c > index f20c902c..ccf0024e 100644 > --- a/mpathpersist/main.c > +++ b/mpathpersist/main.c > @@ -213,7 +213,6 @@ static int handle_args(int argc, char * argv[], int nline) > int num_transport =0; > char *batch_fn = NULL; > void *resp = NULL; > - struct transportid * tmp; > > memset(transportids, 0, MPATH_MX_TIDS * sizeof(struct transportid)); > > --