From patchwork Fri Aug 4 11:39:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: shaozhengchao X-Patchwork-Id: 13341710 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9CF03AD42 for ; Fri, 4 Aug 2023 11:34:55 +0000 (UTC) Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1409AE7 for ; Fri, 4 Aug 2023 04:34:54 -0700 (PDT) Received: from dggpeml500026.china.huawei.com (unknown [172.30.72.53]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4RHNrp05DYzrS83; Fri, 4 Aug 2023 19:33:46 +0800 (CST) Received: from huawei.com (10.175.101.6) by dggpeml500026.china.huawei.com (7.185.36.106) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Fri, 4 Aug 2023 19:34:50 +0800 From: Zhengchao Shao To: , , , , CC: , , , Subject: [PATCH net-next 0/2] team: remove unused input parameters in lb_htpm_select_tx_port and lb_hash_select_tx_port Date: Fri, 4 Aug 2023 19:39:40 +0800 Message-ID: <20230804113942.1699902-1-shaozhengchao@huawei.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Originating-IP: [10.175.101.6] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To dggpeml500026.china.huawei.com (7.185.36.106) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, 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 X-Patchwork-Delegate: kuba@kernel.org Patch 1 that getting lb_priv from team directly in lb_htpm_select_tx_port, so input parameters lb_priv will not be used in lb_htpm_select_tx_port. Patch 2 that removing unused input parameters in lb_htpm_select_tx_port and lb_hash_select_tx_port. Zhengchao Shao (2): team: get lb_priv from team directly in lb_htpm_select_tx_port team: remove unused input parameters in lb_htpm_select_tx_port and lb_hash_select_tx_port drivers/net/team/team_mode_loadbalance.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-)