From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id B1C0143069;
	Tue, 15 Aug 2023 04:22:10 +0200 (CEST)
Received: from mails.dpdk.org (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id A0CA343254;
	Tue, 15 Aug 2023 04:22:10 +0200 (CEST)
Received: from mail-pf1-f171.google.com (mail-pf1-f171.google.com
 [209.85.210.171])
 by mails.dpdk.org (Postfix) with ESMTP id 6E2BA4323A
 for <dev@dpdk.org>; Tue, 15 Aug 2023 04:22:09 +0200 (CEST)
Received: by mail-pf1-f171.google.com with SMTP id
 d2e1a72fcca58-68842ebdcf7so832265b3a.0
 for <dev@dpdk.org>; Mon, 14 Aug 2023 19:22:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1692066128;
 x=1692670928; 
 h=content-transfer-encoding:mime-version:references:in-reply-to
 :message-id:subject:cc:to:from:date:from:to:cc:subject:date
 :message-id:reply-to;
 bh=9i0CR5XfN9Jmg5vg+AGBh7tJMsRTLxCdN9A2/mJi/cQ=;
 b=2VlDaMrY0taxsZSorwS3olWZdd0tfW+HL5ml3lRQ2Sm0lYhxZ9RtYoxepG2X8Y5JwF
 NRUXMf9vLIAQWZEybbeiJSui/NPYbeks1Yke/Jb+q32a6Brt5rEj599w+NzbUEFJunNX
 Pr4HbhQE1Fo5GCop47TQCHzcy1f5rjNKJhSjR1GoqEijJ2kj5GM175vbgwjNnUVnAmLO
 KqzKMiQE0Rt01XW4UxPG2mmC5bwg1NYuSEduwS7QlJGbn3w3ZdrFnLoROR9Nhig3GXKK
 +obMdG3AGU96s8Og/bb7/GQS6V+8+FAhjS6cXui7uAUpnpJingz/3QGDohhG59Rh5m+q
 AovA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20221208; t=1692066128; x=1692670928;
 h=content-transfer-encoding:mime-version:references:in-reply-to
 :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=9i0CR5XfN9Jmg5vg+AGBh7tJMsRTLxCdN9A2/mJi/cQ=;
 b=gNmC211FHvQ35Z7Y0TuBMwiNRpATHOMCTRUdc6DXuVmsC+6I1K3QvsbTm2i/yeJp8G
 7QDDQfeMA+L+NOUYhFSoK9S0a5jx8Vu6zkOObdx4uyEGcxHHC/ummp6s6VlRhP9LyWeJ
 8UOZ1vpVTDnxVkTuhE7RMD3fmxFWwK7QmiYoopnrB+DTwt9fB64O1D9ZYi04GgvFcagW
 SVZwalwJGEorH5QPbM/2IymrFZ3nXV53rt719o1Ht0BeCh/KyZw2LzJbSrCkK0Ut4jF3
 v1vM4xfQ7ka3FldPgTp9DnbIibqlN2aNPPc3srYQ7a/DAeiQZmuySbAjCsLNergrqRb1
 itdA==
X-Gm-Message-State: AOJu0YzOAm/Ed4sHdnFq+XOU6Jw8WFEfAQ4+Sljs0uh79U0OXn4J1NQH
 W+AufLKIkqyzxiDnce99iRGSSA==
X-Google-Smtp-Source: AGHT+IELINoL4Q/cs+SmVJAHJrGGN7ds5NRCTG3j82CZzLWrd+mkpZkNdRFi1uJSp4w8N7DCcLt7dA==
X-Received: by 2002:a05:6a20:3ca3:b0:13f:6e26:e198 with SMTP id
 b35-20020a056a203ca300b0013f6e26e198mr16944312pzj.54.1692066128646; 
 Mon, 14 Aug 2023 19:22:08 -0700 (PDT)
Received: from hermes.local (204-195-127-207.wavecable.com. [204.195.127.207])
 by smtp.gmail.com with ESMTPSA id
 x17-20020aa79191000000b006874c47e918sm8531272pfa.124.2023.08.14.19.22.08
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Mon, 14 Aug 2023 19:22:08 -0700 (PDT)
Date: Mon, 14 Aug 2023 19:22:06 -0700
From: Stephen Hemminger <stephen@networkplumber.org>
To: okaya@kernel.org
Cc: dev@dpdk.org
Subject: Re: [PATCH v1 2/7] tailq: skip init if already initialized
Message-ID: <20230814192206.6819e21c@hermes.local>
In-Reply-To: <20230815013826.1288972-3-okaya@kernel.org>
References: <20230815013826.1288972-1-okaya@kernel.org>
 <20230815013826.1288972-3-okaya@kernel.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org

On Mon, 14 Aug 2023 21:38:21 -0400
okaya@kernel.org wrote:

> +		if (t->head == NULL) {
> +			t->head = rte_eal_tailq_create(t->name);
> +		}

Brackets not wanted on single statement