From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kalle Valo Subject: Re: =?utf-8?q?=5BPATCH=5D_net/wireless=3A_Delete_unnecessary_checks_bef?==?utf-8?q?ore_the_macro_call_=E2=80=9Cdev=5Fkfree=5Fskb=E2=80=9D?= Date: Tue, 15 Oct 2019 05:28:04 +0000 (UTC) Message-ID: <20191015052805.0C01F60BDD@smtp.codeaurora.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Markus Elfring Cc: linux-wireless@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, ath10k@lists.infradead.org, "David S. Miller" , Felix Fietkau , Lorenzo Bianconi , Matthias Brugger , Roy Luo , Ryder Lee , Solomon Peachy , Stanislaw Gruszka , LKML , kernel-janitors@vger.kernel.org List-Id: linux-mediatek@lists.infradead.org Markus Elfring wrote: > From: Markus Elfring > Date: Thu, 22 Aug 2019 10:20:10 +0200 > > The dev_kfree_skb() function performs also input parameter validation. > Thus the test around the shown calls is not needed. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus Elfring Patch applied to wireless-drivers-next.git, thanks. 868ad2149602 net/wireless: Delete unnecessary checks before the macro call “dev_kfree_skb” -- https://patchwork.kernel.org/patch/11108741/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches