Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AA13AC433ED for ; Mon, 10 May 2021 20:00:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7F6AB6143B for ; Mon, 10 May 2021 20:00:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232152AbhEJUBO (ORCPT ); Mon, 10 May 2021 16:01:14 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:33624 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229877AbhEJUBN (ORCPT ); Mon, 10 May 2021 16:01:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=Vk0QJzc0L0mFIpupBcUMolNk0a4OzVF6hyuLmd1U86o=; b=d9PMxNwGJtCZrhccNt69fvPqbF LapaqCE+flaGq/Z6OtlZHXdr+4niwSkL9szMrF7JaRT012JKLrZ1jEOgEiQMfXpw+z7X+XFsSwia/ Ge993AXL6+EurZd2mNKUnA7KAcTpZ9/a26rlJGqa/haVCaxYt57th4ywS95KmIULwym8=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1lgC4H-003d2E-Jt; Mon, 10 May 2021 21:59:53 +0200 Date: Mon, 10 May 2021 21:59:53 +0200 From: Andrew Lunn To: Zhen Lei Cc: Rain River , Zhu Yanjun , "David S . Miller" , Jakub Kicinski , netdev Subject: Re: [PATCH 1/1] forcedeth: Delete a redundant condition branch Message-ID: References: <20210510135656.3960-1-thunder.leizhen@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210510135656.3960-1-thunder.leizhen@huawei.com> Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Mon, May 10, 2021 at 09:56:56PM +0800, Zhen Lei wrote: > The statement of the last "if (adv_lpa & LPA_10HALF)" branch is the same > as the "else" branch. Delete it to simplify code. > > No functional change. > > Signed-off-by: Zhen Lei Hi Zhen Could you teach your bot to check lore.kernel.org and see if the same patch has been submitted before? If it has, there is probably a reason why it was rejected. You need to check if that reason it still true. Andrew