Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp124197iob; Tue, 17 May 2022 21:02:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxkm7yavOZ+ZLG3CHcuuFSnNZIjS80PJK+UPxWPTzYYW2+1vxtu0pEic78lWzcu7BgarVsf X-Received: by 2002:a17:90a:9b0d:b0:1dc:e81d:6c18 with SMTP id f13-20020a17090a9b0d00b001dce81d6c18mr28666105pjp.72.1652846523386; Tue, 17 May 2022 21:02:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652846523; cv=none; d=google.com; s=arc-20160816; b=So9wytV8dx4hvEWBTOE5QcOQUKl3vSF8TAvWCUPV4SP7ie2uA0a2WFioRor8vPj1VG XvHEqjuysrh7CdWdKAfx3RQ37Tnrz5k0pjE7CZm3sp29l14pUw0rGqF0dJ6r3hUZGQsq aJE3OyABr+8ZOrPmorh4Ro4tfuIOsvO8z5vp563uy+e9lS9HYLA4LAvNjskxPO0ryx9l sc3I7m7Jw37yCiplj9lrdnLO3/zrzNnVBWkjXltgKXBZ2nmQIZNnLUg9yiZ2FTeejEcl V1KL3YGu4+6t1ONuK2WK3Uc5zVuKolwYVMgNmAbUHCWUYmtjqwDbfZ27OuQFuy1uocL9 uiRQ== 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=xG2KKb/dk1gxJqhDxbZUHn8240grN5Ka/Z8p+teC55U=; b=Y8pz2G5KzcJbaq8hgHCNkVEUlVUBmfnOsZg2xzqaFWvvLQwvyK/vi5SYakyM8wl0uV r9wwNk1iDE6ME1lstUjcfLQLAOo35CRN1ICq/wzjWcYAPjUb48B+UPDV9MdjBd1xDNW7 sHHW0wyUszPQO9Bm0hX5yBy7O77QoIN0WazTNjkYHaknzMmTLIX4u0zKmle7pv3PXMGb ih1QtcKhK9JI28hhhV6+IzitS9p5vHGlUVsL3aoD2N5ZeNWzSnvpVw5u4GKRnLpHLEac YSLVZ0BPqmDIsqV3roBqupnpAz4owoOnRhOT0F9VykFld5YX4/sxnfuNYfbrNsWpkfwI YWDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VQA8C0O8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id h17-20020a170902f71100b001615cab37e5si1475855plo.13.2022.05.17.21.02.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 May 2022 21:02:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VQA8C0O8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id CD709424A4; Tue, 17 May 2022 20:37:33 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244995AbiEQJkP (ORCPT + 99 others); Tue, 17 May 2022 05:40:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32818 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245010AbiEQJkN (ORCPT ); Tue, 17 May 2022 05:40:13 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A992D45501; Tue, 17 May 2022 02:40:12 -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 46CF3614E5; Tue, 17 May 2022 09:40:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id A04C3C36AE2; Tue, 17 May 2022 09:40:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1652780411; bh=ftmXYUBdFrHTQ7Hbwsdl3QIj6GWmK1JZCyHgtUsGF+c=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=VQA8C0O8lOZOJff7A/1/ctdtHFTaJT14rgBen5ryNasCDNjSwUO0E+O43tlkDqAxA Dn77Psa3xK6ie7GzZaP2mDYjS2ErJDLDYuIMrLQkOTae9BWBTTFKJEEhyes29ttqf4 dFGLrjcDh/zLSmmH99Iz/aoA46SuDloKoEaASi3duj/vuMaDISn5GZe+zICtapVoZX 3Dn+F7Mk8QL2rK198gNT7/C0bTNsuEjhiW7pnNraw+akdXFVnIcsYm5St1lFfpoKFd 3YlbBdtwSoN42BvP0e6cYiHAeX8H/Yxy9lJ1pg0LjDS85g4uCPt5m0pZ6tO+IdyniW 1pDaExN5FsjoA== 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 84ED3F03935; Tue, 17 May 2022 09:40:11 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] ethernet/ti: delete if NULL check befort devm_kfree From: patchwork-bot+netdevbpf@kernel.org Message-Id: <165278041154.25162.1112878359765215659.git-patchwork-notify@kernel.org> Date: Tue, 17 May 2022 09:40:11 +0000 References: <20220516015208.6526-1-bernard@vivo.com> In-Reply-To: <20220516015208.6526-1-bernard@vivo.com> To: Bernard Zhao Cc: davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com, 11115066@vivo.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, zhaojunkui2008@126.com X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 Paolo Abeni : On Sun, 15 May 2022 18:52:05 -0700 you wrote: > devm_kfree check the pointer, there is no need to check before > devm_kfree call. > This change is to cleanup the code a bit. > > Signed-off-by: Bernard Zhao > --- > drivers/net/ethernet/ti/am65-cpsw-qos.c | 13 ++++--------- > 1 file changed, 4 insertions(+), 9 deletions(-) Here is the summary with links: - ethernet/ti: delete if NULL check befort devm_kfree https://git.kernel.org/netdev/net-next/c/1588f5a91b16 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html