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 06560A034C; Wed, 22 Jun 2022 20:52:03 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8AF6940A84; Wed, 22 Jun 2022 20:52:03 +0200 (CEST) Received: from mail-pj1-f46.google.com (mail-pj1-f46.google.com [209.85.216.46]) by mails.dpdk.org (Postfix) with ESMTP id 9D2B84069F for ; Wed, 22 Jun 2022 20:52:01 +0200 (CEST) Received: by mail-pj1-f46.google.com with SMTP id w19-20020a17090a8a1300b001ec79064d8dso297165pjn.2 for ; Wed, 22 Jun 2022 11:52:01 -0700 (PDT) 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:mime-version :content-transfer-encoding; bh=n1lhVn6t924YphSMs5wFOmf1lZr5CS341sJmM+Il27A=; b=QfqpHP6W3JRJYmUOKweBPRcQs0W1w5WBPNVB86+XrvSK1+BUQbiVxRehbWokm9Nxw4 C86d10WfIuiOaQIUe+2UPXUk+7Ib2+/KiBl2h0QZRqgwBkTiN0Hu2hMEtXtpYKoYL3K2 N16+0eRBuxgxjhdY/9izO+hCUkU5jPG5I5zpwxTQ4Ozm4J36F1ZzdQSZj8pK7D+AqMtL YxQv9ctkc/O2m7a66q1UbGW0MrMdkpqv67MHtL26+4nau/dVac74PfCebHfuCP+QT5Tf mcw+P7MmJO2ka4uk5wxRsE7DIlDO9OMimsE6ElbasZvHAoDgXbh380+zW0mvcf0Lh2Av KFPg== 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:mime-version :content-transfer-encoding; bh=n1lhVn6t924YphSMs5wFOmf1lZr5CS341sJmM+Il27A=; b=BG4HESFxcJ8DCKP93tPNKrMD/tTtzzTz6XmdkcVSZDSl/Qm7ExUGLqm0R7TaI0E26t GBT9JFYDj6Zjwn69ALCtm23RjcSDwLy5B3Qb2ciHqaKkj9LSI+8bObR6HBrm+FTv4Ack mF4N5bszsjtZoPkyOzXx/BpVWcEU/vVX3vKhY44rVTyp99h6vMtvDPJguz4oG/hlnIGM 4b1z777wblkYr8qM6Vlq+B+CjIeiHumHCDTvReBHB5JiFtZy4RKBFf+zfne8SirLm/z5 9EJ2x5gDM7tIrj+j9eQB/UIsdqpGN9yNvt/G7ipXFY/UfcIgcgE3GgGPLcGMhGZvKNhg +Rbg== X-Gm-Message-State: AJIora/OFHJ9f1HBLnVdF7RSLcTCP09asjtl2ktl9fQzBGReooz+4Bvn vwyIiaD5DQb6ayz1lgVav37sTCeb6PYkJ6/q X-Google-Smtp-Source: AGRyM1sl0CZTT6bna5M31lDui/iGylwSuhbHs9cUhpXu6WlfC20eDryWS+uC226i8Z+pBlIVyIKqYw== X-Received: by 2002:a17:90b:3b81:b0:1ec:e852:22db with SMTP id pc1-20020a17090b3b8100b001ece85222dbmr4596232pjb.77.1655923920304; Wed, 22 Jun 2022 11:52:00 -0700 (PDT) Received: from hermes.local (204-195-112-199.wavecable.com. [204.195.112.199]) by smtp.gmail.com with ESMTPSA id r6-20020a638f46000000b00407e25d4527sm9215817pgn.22.2022.06.22.11.51.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Jun 2022 11:51:59 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH 0/3] more null pointer check removal Date: Wed, 22 Jun 2022 11:51:55 -0700 Message-Id: <20220622185158.397779-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.35.1 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 Reran the Cocci script to check for unnecessary null pointer comparisons before free related functions. Stephen Hemminger (3): vdpa/mlx5: remove unnecessary null check raw/ifpga: remove unnecessary null check dmap/dpaa2: remove unnecessary null check drivers/dma/dpaa2/dpaa2_qdma.c | 6 ++---- drivers/raw/ifpga/ifpga_rawdev.c | 3 +-- drivers/vdpa/mlx5/mlx5_vdpa_virtq.c | 3 +-- 3 files changed, 4 insertions(+), 8 deletions(-) -- 2.35.1