From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <stable-bounces@dpdk.org>
Received: from dpdk.org (dpdk.org [92.243.14.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 8E695A04B1
	for <public@inbox.dpdk.org>; Tue, 29 Sep 2020 21:57:44 +0200 (CEST)
Received: from [92.243.14.124] (localhost [127.0.0.1])
	by dpdk.org (Postfix) with ESMTP id 879591DA7C;
	Tue, 29 Sep 2020 21:57:43 +0200 (CEST)
Received: from mail-pj1-f66.google.com (mail-pj1-f66.google.com
 [209.85.216.66]) by dpdk.org (Postfix) with ESMTP id 1A9DF1DA7C
 for <stable@dpdk.org>; Tue, 29 Sep 2020 21:57:42 +0200 (CEST)
Received: by mail-pj1-f66.google.com with SMTP id md22so4228403pjb.0
 for <stable@dpdk.org>; Tue, 29 Sep 2020 12:57:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=networkplumber-org.20150623.gappssmtp.com; s=20150623;
 h=date:from:to:cc:subject:message-id:in-reply-to:references
 :mime-version:content-transfer-encoding;
 bh=dc8WnhEcLyqsWUV1TqgS2MyWAMj1bt7zaLnCJkDpAiM=;
 b=b9M9wDGAIk/ZrgkMs/D1wQeOb3pnAEOuuo+VaC+h4yV0LPj4X+JcHRnHbvsGM8Eotz
 KHVS7vKEzQ/AnNj0V5FqdLmixRJczgRsrXWjJP3GtRQyVRiuIX3ZdROryHAgDSApBDhK
 l+ple3QmyxI9nNwWjggPXDj5FCf1mulxjNW/JZ+M9Mtq8KOxvWDSJjFm5mQyZB7ZB1n9
 oiu4TM+L/Y6eHtgMsCBtF2p/6NXG42S5epr7GZZvlgRa/z+o+cVl9j++xBKQb9cNjtSW
 toIDqVVn3YvkCEHB8lcEonfZP+CJw4ebhPZnp0jQUleKt0cfGuFWalGIsC93nQOhgnPB
 TK3A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to
 :references:mime-version:content-transfer-encoding;
 bh=dc8WnhEcLyqsWUV1TqgS2MyWAMj1bt7zaLnCJkDpAiM=;
 b=WOy8qTLdZmSKIT1AjAW/ZG9nPB7iac8xMZE4SazpVw1VaHClTDMyhaFq9I7ikVYNGn
 A2vJfUirxjrnPHMMep0nReFWooadNFJSDGq+1eJOatOAhCkIaCVqUbji0aITVSkc4C+n
 bD9thpc3NFVQ64noPn6jpram2kHNC415DRJhMqoIzRfLkoTNyYPINiWwdKbgny70Mnf4
 xzXsu12Gfzg1wIjSYFQyrqQnJld41k7/8zHNAAMGibFc8fadnaN9O0+0+A3b5IWQshQ9
 R5QjtqfcdTNCo4lo1CDi6ul0179saDxFOdQNT6grnZOnH4jLRRaRI49vFsiRF237klUb
 d/9w==
X-Gm-Message-State: AOAM532j5oz2rDHKwsYlZKyuyoATCyyR+HiwGOZpHar0+vtC7c15etlp
 e/X8qgZPi2/+mJjaCTHxvH/mTw==
X-Google-Smtp-Source: ABdhPJyA4F9cFa1Lv+rL075abuLL8/JyeagKTbvVvbnaylxwf1hRW3NxowvzqU7P27t4q5rJQ0axzQ==
X-Received: by 2002:a17:90b:289:: with SMTP id
 az9mr5427072pjb.31.1601409460186; 
 Tue, 29 Sep 2020 12:57:40 -0700 (PDT)
Received: from hermes.local (204-195-22-127.wavecable.com. [204.195.22.127])
 by smtp.gmail.com with ESMTPSA id h9sm5618425pgk.52.2020.09.29.12.57.39
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 29 Sep 2020 12:57:39 -0700 (PDT)
Date: Tue, 29 Sep 2020 12:57:31 -0700
From: Stephen Hemminger <stephen@networkplumber.org>
To: wangyunjian <wangyunjian@huawei.com>
Cc: <dev@dpdk.org>, <jerinj@marvell.com>, <ndabilpuram@marvell.com>,
 <kirankumark@marvell.com>, <jerry.lilijun@huawei.com>,
 <xudingke@huawei.com>, <stable@dpdk.org>
Message-ID: <20200929125731.5dfafd26@hermes.local>
In-Reply-To: <ca775c2d9670d3133515c6abd81acedf3c19222c.1598418485.git.wangyunjian@huawei.com>
References: <ca775c2d9670d3133515c6abd81acedf3c19222c.1598418485.git.wangyunjian@huawei.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH] net/octeontx2: remove
	logically dead code
X-BeenThere: stable@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: patches for DPDK stable branches <stable.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/stable>,
 <mailto:stable-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/stable/>
List-Post: <mailto:stable@dpdk.org>
List-Help: <mailto:stable-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/stable>,
 <mailto:stable-request@dpdk.org?subject=subscribe>
Errors-To: stable-bounces@dpdk.org
Sender: "stable" <stable-bounces@dpdk.org>

On Wed, 26 Aug 2020 19:18:09 +0800
wangyunjian <wangyunjian@huawei.com> wrote:

>  	if (tx_qconf)
>  		free(tx_qconf);
> -	if (rx_qconf)
> -		free(rx_qconf);

free accepts a NULL pointer so current practice is to avoid
useless if() tests before free.