Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 36793C433F5 for ; Wed, 15 Dec 2021 23:19:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231880AbhLOXS7 (ORCPT ); Wed, 15 Dec 2021 18:18:59 -0500 Received: from mail.netfilter.org ([217.70.188.207]:56442 "EHLO mail.netfilter.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231785AbhLOXS6 (ORCPT ); Wed, 15 Dec 2021 18:18:58 -0500 Received: from netfilter.org (unknown [78.30.32.163]) by mail.netfilter.org (Postfix) with ESMTPSA id 8A0E9607E0; Thu, 16 Dec 2021 00:16:28 +0100 (CET) Date: Thu, 16 Dec 2021 00:18:52 +0100 From: Pablo Neira Ayuso To: cgel.zte@gmail.com Cc: Jozsef Kadlecsik , Florian Westphal , "David S . Miller" , Jakub Kicinski , netfilter-devel@vger.kernel.org, coreteam@netfilter.org, linux-kernel@vger.kernel.org, luo penghao , Zeal Robot Subject: Re: [PATCH linux-next] netfilter: Remove useless assignment statements Message-ID: References: <20211208075706.404966-1-luo.penghao@zte.com.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20211208075706.404966-1-luo.penghao@zte.com.cn> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 08, 2021 at 07:57:06AM +0000, cgel.zte@gmail.com wrote: > From: luo penghao > > The old_size assignment here will not be used anymore > > The clang_analyzer complains as follows: > > Value stored to 'old_size' is never read Applied