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 209C9A0093; Thu, 10 Nov 2022 00:46:55 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C1C22400EF; Thu, 10 Nov 2022 00:46:54 +0100 (CET) Received: from mail-pg1-f178.google.com (mail-pg1-f178.google.com [209.85.215.178]) by mails.dpdk.org (Postfix) with ESMTP id 07B29400D4 for ; Thu, 10 Nov 2022 00:46:54 +0100 (CET) Received: by mail-pg1-f178.google.com with SMTP id q71so104551pgq.8 for ; Wed, 09 Nov 2022 15:46:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=P4Ty63eJ/8WVzWn+zeiw+HC2Myl7bRoxRM49EJOtMdQ=; b=xR7JB7EkC0Vy71XfE6SSduMP0ZB43m3qGAfA1WHS/3NQQHvpCkrAxApyiI/527OGLt MS5yNm+qn2A5zO66AU/qPswduXAVWVX964jSXfeT624u+EGAbeLU0+cDM5ejXdarfpOX 1SwYtNQ02j0gMPsFUDtXgNr4vIQnzXYNGT5eLp6bkItEEObjeZA1nzYTOTTOAm1KOWAV Zg97cs/NV7WzFXXHLsA6ZsEsPGA/RIO8LU3CQVf0AbUTKTP+UfBCeMYKsjdjRoE+hMy3 hNsoZ6tHWLsRDWHEip5DlZRDnckgLgN0vO2UmlrIaxBU4CATz6crk2aZW26e7NKIY0qy gavg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=P4Ty63eJ/8WVzWn+zeiw+HC2Myl7bRoxRM49EJOtMdQ=; b=r/WxNg707rpGcs+1xguKagYnn9Cfx1Tqd9PT18BwCL88/5eBlSLEQ8LGZCJotu5jS8 TfHwiYMdKyCHrkauZfxF9dwYa7nlvSEvTChtAeUIulq5LXGu2Ok2yKPTaIqapVwUV5zq whOt9/JDg9oJ2MmimbjFtTm0MF5+tlQxRrBY/4eqDGlNhWaqnWVKCqWz9Of45j8kh/OT DqCfM9LQLTF6by+GgE9uPEHu2LVe9IDidb+l9LvA4KDIjJJMmRQSXaHM+R5Z/oX/6CY0 KorE92sIJses/KazlGxlwPWrOmBvnW5QyIBe3vk9lo655l2s2jzJG2+sO9fm3BE+A5NF UZ5A== X-Gm-Message-State: ACrzQf0FeN0k6enwkFaehP0bwLVAZLYfcpF38SdhOG1AQB6+IiBo9qqW TjI9a5Nxk9aDw5lEesgw720C67l+AjFSrQ== X-Google-Smtp-Source: AMsMyM4Fy8xSsv4wxGDt9mLgCXGOxF1KA2U8TgP7EcLyDWevpeUuS+GEep6k3F43tuP4lpH+oGJZ1Q== X-Received: by 2002:a63:df08:0:b0:46f:7e1c:e6e6 with SMTP id u8-20020a63df08000000b0046f7e1ce6e6mr1361791pgg.138.1668037612818; Wed, 09 Nov 2022 15:46:52 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id e18-20020a63e012000000b00470275c8d6dsm7895259pgh.10.2022.11.09.15.46.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Nov 2022 15:46:52 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH 0/4] remove unnecessary null checks Date: Wed, 9 Nov 2022 15:46:45 -0800 Message-Id: <20221109234649.331942-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 This patch set is from running the null_free coccinelle script on the current main branch. Stephen Hemminger (4): gve: remove unnecessary null checks mlx5: remove unnecessary null checks idpf: remove unnecessary null checks examples: remove unnecessary null checks drivers/net/gve/gve_ethdev.c | 6 ++---- drivers/net/idpf/idpf_rxtx.c | 3 +-- drivers/net/mlx5/hws/mlx5dr_pool.c | 3 +-- drivers/net/mlx5/mlx5_flow_hw.c | 6 ++---- examples/distributor/main.c | 3 +-- examples/fips_validation/main.c | 15 +++++---------- 6 files changed, 12 insertions(+), 24 deletions(-) -- 2.35.1