Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp7988416rwi; Tue, 25 Oct 2022 00:33:39 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5lPSnJ9smSJZb3K9y2C+nYkYgWS9Dj9aep6gWRSW+mCJ3JyGo0xc5B6QLRLeZ0uDit+5XC X-Received: by 2002:a17:902:6b04:b0:181:5dc6:5348 with SMTP id o4-20020a1709026b0400b001815dc65348mr37347381plk.69.1666683219398; Tue, 25 Oct 2022 00:33:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666683219; cv=none; d=google.com; s=arc-20160816; b=unwLTVDiJUHk4UyYTekzTca8+vDQpIvS23JkVGLQ4Nm1d3JXmgm9kISDwNnBTgpXl3 BKQfrzkNtx1kz4JkRPr2uryLdhYCAaf9Xm862z+3ymdo+SeuLLKpGHqjDxU2YItEKcS5 ClpN4B55InyPZGWWBDvYCnwOG9L1VjRCmyyeYMlTqXCN5yg/w+roi2EZrASK1Gggqw+J 8VxwaSqjCNmppYXhEYx07w6pvxsStFN5cmJjv9JpSegW+mcJcCy0yY0wys5MKUQGGQoe LqXAEKptLr7bR3fYnwkh87f51/lZ7+EFYjoEozbOeXowKUnq/JrgrXTd/UYWANUetFg8 ArXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:cc:date:message-id:subject:mime-version :content-transfer-encoding:from:dkim-signature; bh=OpGVdTHPTo8HE73NSMb14pa67PYd3cbhvavpF08Svys=; b=NEJ8/jk27uU476iMlec9ij4BV12a3o5m2hU0obmxai6u4myG6x+3NGx1AkSndHu6yU z1KmoermiJmzgWMJa11OvAC/idezWN0b6sp3Cg2PzTkVe0F06IqIqFSFb1dny8If0jbI z0/lGvT7mC9ZTdPfX89evs5Jph1ax+yBs8YsdRM00zGpl6D2KYYE3zGBYR5K1j8M/+Io XO6bgBqHWnnS3y6FipZ1d3VpEWHblB32sNxPNQHQjOfVQaBJ1maLLEKfXEys6umvmPDg 8+QiloZIuBAR5PHszDMogooPHVz/z2Brm/LFdgHTyjuprLwjhtMS5L+rHQ2pzTg5P5Bl C5cg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=LFPhd8kX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 9-20020a631549000000b0044b817adee1si2074520pgv.78.2022.10.25.00.33.27; Tue, 25 Oct 2022 00:33:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=LFPhd8kX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231548AbiJYHL1 (ORCPT + 99 others); Tue, 25 Oct 2022 03:11:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34374 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229976AbiJYHLY (ORCPT ); Tue, 25 Oct 2022 03:11:24 -0400 Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 546C6100BEC; Tue, 25 Oct 2022 00:11:23 -0700 (PDT) Received: by mail-pl1-x629.google.com with SMTP id y4so10456231plb.2; Tue, 25 Oct 2022 00:11:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:cc:date:message-id:subject:mime-version :content-transfer-encoding:from:from:to:cc:subject:date:message-id :reply-to; bh=OpGVdTHPTo8HE73NSMb14pa67PYd3cbhvavpF08Svys=; b=LFPhd8kXff5Z7xDxPYwT8GK84sP92AapJRipScMeKFvJXwYapY1fMnr6PnMk5UcN2K ZVe4XJF7X2BqqEiBgxCaCYvlUyDvtvTI9Q3o9jCAWVEVTj+M88JmvrDf4nndmZBlXz8k O5jXS0jS6RL4aB8UmCkmiK69x4wqGAo6bd8x05Z3/b/6ZeePVA+LREPpyNIazui8XwGz XJM+uosbpxVEcfLzGWaEcYUwewJyWNY/s4MTX1sEVxkmqoIY553Gg4FQhA3Gg/hjgWJb RHLjwPBzcn/ivHgjhepULYkri2KaXES6BkF4Y0tfGhr6kmB+6jtMPHlK24I9Xm5RGZWl ScYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:cc:date:message-id:subject:mime-version :content-transfer-encoding:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=OpGVdTHPTo8HE73NSMb14pa67PYd3cbhvavpF08Svys=; b=0evw5c+9UrPAHx0THwBlacaH4dYUCcMdns90XboPiT87dmQ23wQkgalPtqVZac7Ajl PTKBQMk5DbR8NlNob6x7tDnpoj/NbIxD3UR4sHHFlKvuhNl801mY7Oh712PE6XRTuPjp 9S9rpO279R3N3gU7VXmBPhfCaA+y/EGLdB6l5HgiI+7GD1i+YezYSBLYBJEchixoDs/h DrdOHseceMhVA9Hltjr6ymnfVVjG77go2JluoouSy+GAWKkM34DP97s1mjOpGNJVFgdT kwL+ct8j15RAK/9h1eW89btu1l1frZtIHxiMfMydUr5hq70uPq7QYhAAIdvNoZAHpsKm jbRg== X-Gm-Message-State: ACrzQf3IZtCZVP82SzwNyqdckNjfMaQRILBNqqpzetnjbvQk7uLqbJa+ 2fItRU3CZOOc5CMkTVwNnXM= X-Received: by 2002:a17:90b:305:b0:213:8a6:8bb4 with SMTP id ay5-20020a17090b030500b0021308a68bb4mr11792021pjb.33.1666681882711; Tue, 25 Oct 2022 00:11:22 -0700 (PDT) Received: from smtpclient.apple ([2001:e68:541d:e8fd:fd7f:3fc0:34d8:db1]) by smtp.gmail.com with ESMTPSA id f15-20020a170902ce8f00b00186a2444a43sm713855plg.27.2022.10.25.00.11.19 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Oct 2022 00:11:22 -0700 (PDT) From: Wong Vee Khee Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) Subject: Re: [PATCH net-next 2/2] net: stmmac: remove duplicate dma queue channel macros Message-Id: <03329169-560C-4319-AEBB-44BFFE959EBC@gmail.com> Date: Tue, 25 Oct 2022 15:11:17 +0800 Cc: Joao.Pinto@synopsys.com, alexandre.torgue@foss.st.com, davem@davemloft.net, edumazet@google.com, joabreu@synopsys.com, kuba@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, mcoquelin.stm32@gmail.com, netdev@vger.kernel.org, pabeni@redhat.com, peppe.cavallaro@st.com To: junxiao.chang@intel.com X-Mailer: Apple Mail (2.3696.120.41.1.1) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 Why not combine with the other =E2=80=98if (queue < 4).. else=E2=80=99 = in this function all together? Regards, Vee Khee=