From mboxrd@z Thu Jan 1 00:00:00 1970 From: lixiaokeng Subject: [PATCH 14/14] multipathpersist: delete unused variable in handle_args Date: Wed, 2 Sep 2020 15:26:29 +0800 Message-ID: <829f930f-f426-bcd6-602d-26959accaef7@huawei.com> References: <37544d4c-950f-4281-3b66-e4d1884c5167@huawei.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <37544d4c-950f-4281-3b66-e4d1884c5167@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-Language: en-GB To: Martin Wilck , Benjamin Marzinski , Christophe Varoqui , dm-devel mailing list Cc: linfeilong , "liuzhiqiang (I)" List-Id: dm-devel.ids In handle_args, the tmp isn't used. We delete it. 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)); --