Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp3354100iob; Mon, 16 May 2022 20:27:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJykqAIYCht9MGVnPmOds/cwA8LbhiFcG0wO0Q8b1T6V+Va+MhVT7lm+qX7+fhzvS/cUyNOg X-Received: by 2002:a05:6402:703:b0:426:110e:5d22 with SMTP id w3-20020a056402070300b00426110e5d22mr16757428edx.375.1652758068783; Mon, 16 May 2022 20:27:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652758068; cv=none; d=google.com; s=arc-20160816; b=UUjJQTty8F0DB7hUdREMOH0MYztnVj8EFV8sS/jKbHZipE8rcgeQRxumiHFdZuuYPd MuvAmi9k/VZraFXGUF9rsTQNPtIhcyEwskSvveZR7wC2Vx+VUCdruRjtOpC83sN3URgx kUMrHd7zv6s1MxAUKOmQnvfAaTp8JpzYTXg25lP0zWlkdSExyGQW2kTo2raUrdVXZCal A2yyf+1ub9Keb19Y3CbHNIDt/8KVuIEdLPH8P93Beguh/GtiFLvoKuUo4cH4v7IQe6+z 9sCHzGcF8WQi9ygUjEl65I4/JXLT2ysPD7pQsJiVIRWsa5Q8N2gcujKVah1sdVZDeYAh AcpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=5CyiYb8flJpT/F6LeoLLc57nbLNgZDXw9l+e2wXxcsQ=; b=B5Ev808eHcpSdIfm+HGR7EApljgsLmmwC/+s6w25BQ1XbKIzvMQEZc/KVkwluCXe2U EL/PqSiWIM6ASBCPZdHzYrK9uEEJyTzTHEO7TZsPfWFoFQZ5HmG1bdTCo/4V3cf/vylq 6FfFN6xB4v5yQ7sfnf9MHMj8qn5S6IE5Qc6XQvt4JZz038Welmg6Yp4B/r/PfztIh9xf yge+IGnixM8Xc5cZYE29pEK8lSsNWz6AV/b2gy+9gB6noIEDQYPekMRaKgU9GpebBuTt VKoTDYNh2kv0R19H0+zc62E8Qvmy+jXlCDRsfBUfqhlhLJz/XeviN+i13lTae19Tl/nt Cczw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Qvk7CoIT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hr39-20020a1709073fa700b006f39248706asi1216795ejc.315.2022.05.16.20.27.23; Mon, 16 May 2022 20:27:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Qvk7CoIT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242509AbiEPKuR (ORCPT + 99 others); Mon, 16 May 2022 06:50:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35484 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235688AbiEPKuP (ORCPT ); Mon, 16 May 2022 06:50:15 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1BA94275F3; Mon, 16 May 2022 03:50:13 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4534B60F75; Mon, 16 May 2022 10:50:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id A9106C34116; Mon, 16 May 2022 10:50:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1652698212; bh=wRNyfCK/WPWxXzFGZ/xTULv4XtjZo+urdccl0BTZEcs=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=Qvk7CoITCK8k6Rvv66oS0vJI1OIpt1jvBuZoIOTP6hwbrAJaX62v7VqUP37uqcKuK TNSDpoOAS4RdJj6noC4/1yQVWURPhJPI2vfe9D4RtYcQAdpcQ/ql8iae04RFWlm9DH aSjzaTxEH+j1sxF6am6C4hGfr004nbEIUHANMIPbAU6ZZnT2yPsIk+OGSGHcILz018 0OfZ2T93ywBsFSzJD5my1DRk0mbQeoVlG1frCVeItnUuY4/IppRA5wYp89arYav4Q2 1nKceOJbgCwjHfZiqpd6LIHcTp40UKU5ZMZ9aIAC/A43n015blz3fKDiI+KValUC4o FjGak9qWh+azQ== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 9446EF03935; Mon, 16 May 2022 10:50:12 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net-next] octeon_ep: delete unnecessary NULL check From: patchwork-bot+netdevbpf@kernel.org Message-Id: <165269821259.15644.6055083761195107529.git-patchwork-notify@kernel.org> Date: Mon, 16 May 2022 10:50:12 +0000 References: <20220513072928.3713739-1-william.xuanziyang@huawei.com> In-Reply-To: <20220513072928.3713739-1-william.xuanziyang@huawei.com> To: Ziyang Xuan Cc: vburru@marvell.com, aayarekar@marvell.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello: This patch was applied to netdev/net-next.git (master) by David S. Miller : On Fri, 13 May 2022 15:29:28 +0800 you wrote: > vfree(NULL) is safe. NULL check before vfree() is not needed. > Delete them to simplify the code. > > Signed-off-by: Ziyang Xuan > --- > drivers/net/ethernet/marvell/octeon_ep/octep_main.c | 3 +-- > drivers/net/ethernet/marvell/octeon_ep/octep_rx.c | 3 +-- > drivers/net/ethernet/marvell/octeon_ep/octep_tx.c | 3 +-- > 3 files changed, 3 insertions(+), 6 deletions(-) Here is the summary with links: - [net-next] octeon_ep: delete unnecessary NULL check https://git.kernel.org/netdev/net-next/c/1dee43c2c6f1 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html