From: lixiaokeng Subject: [PATCH V4 14/14] multipathpersist: delete unused variable in handle_args Date: Thu, 10 Sep 2020 18:54:30 +0800 Message-ID: <3b8dc5f8-2fbc-e051-7151-d39308c4aa44@huawei.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: 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: Christophe Varoqui , Martin Wilck , Benjamin Marzinski , 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 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)); --