From mboxrd@z Thu Jan 1 00:00:00 1970 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=-3.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no 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 CEA7BC433ED for ; Mon, 10 May 2021 19:53:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id AB13461184 for ; Mon, 10 May 2021 19:53:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232255AbhEJTyU (ORCPT ); Mon, 10 May 2021 15:54:20 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:33598 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230342AbhEJTyF (ORCPT ); Mon, 10 May 2021 15:54:05 -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=jMrkWSl6+Edrxsk1kWvz7BBj9etcXkiLlCz/mhjTDF0=; b=ETWWiwsPlmW/JfaaEad68aqKI4 tfwDU79iIuec8TIqD8LE/0q65Yx74mHiiGHcwIl/mVkIIR1BSbiqf9jnw8PomKYJLZfoKTKieHy4c XGzh043zJfgI81i0XX0Vfi6ZgViTx1ZVhHq4T8Mvjxh5Q1IxqJfUfZjsycHYzpB8wPSs=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1lgBxG-003cxK-Tl; Mon, 10 May 2021 21:52:38 +0200 Date: Mon, 10 May 2021 21:52:38 +0200 From: Andrew Lunn To: Jakub Kicinski Cc: Zhu Yanjun , Zhen Lei , Rain River , "David S . Miller" , netdev Subject: Re: [PATCH 1/1] forcedeth: Delete a redundant condition branch Message-ID: References: <20210510135656.3960-1-thunder.leizhen@huawei.com> <20210510113124.414f3924@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210510113124.414f3924@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org > This patch (and the stmmac one) removes a branch based on the fact that > it's the same as the default / catch all case. It's has a net negative > effect on the reability of the code since now not all cases are > explicitly enumerated. But it's at least the 3rd time we got that > stmmac patch so perhaps not worth fighting the bots... Hi Jakub Is it the same bot every time? Or are the masters of the bots learning what good code actually looks like and fixing their bots? Unless we push back, the bot masters are not going to get any better at managing their bots. Andrew