From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 67099A04AD; Mon, 24 Jan 2022 18:49:16 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 630AA42852; Mon, 24 Jan 2022 18:47:46 +0100 (CET) Received: from mail-pf1-f177.google.com (mail-pf1-f177.google.com [209.85.210.177]) by mails.dpdk.org (Postfix) with ESMTP id 5813A42811 for ; Mon, 24 Jan 2022 18:47:43 +0100 (CET) Received: by mail-pf1-f177.google.com with SMTP id h5so8275040pfv.13 for ; Mon, 24 Jan 2022 09:47:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=MpFsvUFrmqYboBcYsmcff/+YsakMY6WvobYk700vFdw=; b=LMDvU1Iym2Cjjj6pJ0/mnb5J/Zu1ydWN13YzoHjGPojmpBjsuzA5Q/AdY9BZaaBZJd 2N+BsJ7atjliIFh/EeJ4pywbllXHDtq1EKvyna2a/fJr6U4Xb/lbL7k1leJaKlm/ERU7 cmENrKJhM/fwgMozkZz7TPtvfHEFF7ODaK94zwhKy0oPI/2ZTdI65Ifbhf7tXJqchCU4 G9mnXoJvKXzm+/x22I3Tu5+yyuZ6/SzwBido004X8IvUHbKx2nTt53sPQ2MKegm+5DgO tufMujYXxeiRNghMPYqRhnLPyoSH90cB955PS0eFj1fJgxoAsksW8a2JAn1/+lAzy+Bs +CMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=MpFsvUFrmqYboBcYsmcff/+YsakMY6WvobYk700vFdw=; b=ppuUj2m/cx8jsjWFuwSh8p8VPgb+kf0Fpey17WhPNpKzQsQkShWN8gilxRovtzWst+ UIM1Q4sjTl86ge/j7YIGglypaqOY8ibSQX6AL5Zu3NzjKEfUhp3+XaduUXMH126typ+S 92cU/gG1yp1TH46IV359Y6yFKCsOYl3v+AxQZchsBwKnL/vpdCzjj3NGBS4xnszCVss4 uTh+6pIpLOiSKXG9Z3eCaX75yv40L/Ih6EMhCowkTG1W41Wxv2B1tMp8mBkbfY5k5ctn gu9hfOfCmlBeH7FQc5+uA/fJRAS3Bp+WnV5fLH/zrb/K9t1RtS/Y6LTZd6lXIOjKwy3x YCWQ== X-Gm-Message-State: AOAM530IjY8VqNPXhY0POkRkcu3l7pY+SarVdf64g1rkPLWTcNZNmhrC Y3nb8V+Qrg7laL6btK/xw9DS4MOUYigxDw== X-Google-Smtp-Source: ABdhPJw72gZ1iDFShsOa3NBW1oidoGfrBBea1n70n1A+s/uVJHUDYKRHKDFcB3VPEQCmrVExWN1GeA== X-Received: by 2002:a63:81c3:: with SMTP id t186mr8125158pgd.462.1643046462286; Mon, 24 Jan 2022 09:47:42 -0800 (PST) Received: from hermes.local (204-195-112-199.wavecable.com. [204.195.112.199]) by smtp.gmail.com with ESMTPSA id q7sm15835082pfs.37.2022.01.24.09.47.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Jan 2022 09:47:41 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Nicolas Chautru Subject: [PATCH v2 19/83] baseband/turbo_sw remove unnecessary NULL checks Date: Mon, 24 Jan 2022 09:46:15 -0800 Message-Id: <20220124174719.14417-20-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220124174719.14417-1-stephen@networkplumber.org> References: <20220124000518.319850-1-stephen@networkplumber.org> <20220124174719.14417-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Remove redundant NULL pointer checks before free functions found by nullfree.cocci Signed-off-by: Stephen Hemminger --- drivers/baseband/turbo_sw/bbdev_turbo_software.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/baseband/turbo_sw/bbdev_turbo_software.c b/drivers/baseband/turbo_sw/bbdev_turbo_software.c index c6b1eb8679cb..af7bc416f92e 100644 --- a/drivers/baseband/turbo_sw/bbdev_turbo_software.c +++ b/drivers/baseband/turbo_sw/bbdev_turbo_software.c @@ -1918,8 +1918,7 @@ parse_turbo_sw_params(struct turbo_sw_params *params, const char *input_args) } exit: - if (kvlist) - rte_kvargs_free(kvlist); + rte_kvargs_free(kvlist); return ret; } -- 2.30.2