From patchwork Tue Apr 6 08:58:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Leizhen (ThunderTown)" X-Patchwork-Id: 12184579 X-Patchwork-Delegate: kuba@kernel.org 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=-16.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable 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 39460C43460 for ; Tue, 6 Apr 2021 09:00:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0F194613C6 for ; Tue, 6 Apr 2021 09:00:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240630AbhDFJAH (ORCPT ); Tue, 6 Apr 2021 05:00:07 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:15133 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244726AbhDFJAH (ORCPT ); Tue, 6 Apr 2021 05:00:07 -0400 Received: from DGGEMS408-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4FF1cT0Y2JzpVMc; Tue, 6 Apr 2021 16:57:13 +0800 (CST) Received: from thunder-town.china.huawei.com (10.174.179.202) by DGGEMS408-HUB.china.huawei.com (10.3.19.208) with Microsoft SMTP Server id 14.3.498.0; Tue, 6 Apr 2021 16:59:47 +0800 From: Zhen Lei To: Saeed Mahameed , Leon Romanovsky , "David S . Miller" , Jakub Kicinski , netdev , linux-rdma , linux-kernel CC: Zhen Lei Subject: [PATCH v2 1/1] net/mlx5: Remove duplicated header file inclusion Date: Tue, 6 Apr 2021 16:58:54 +0800 Message-ID: <20210406085854.2424-2-thunder.leizhen@huawei.com> X-Mailer: git-send-email 2.26.0.windows.1 In-Reply-To: <20210406085854.2424-1-thunder.leizhen@huawei.com> References: <20210406085854.2424-1-thunder.leizhen@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.174.179.202] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org Delete one of the header files "esw/indir_table.h" that are included twice, all included header files are then rearranged alphabetically. Signed-off-by: Zhen Lei --- drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c b/drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c index 8694b83968b4c4f..e8307f5eae4cb6a 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c @@ -33,21 +33,20 @@ #include #include #include +#include #include #include -#include -#include "mlx5_core.h" -#include "eswitch.h" -#include "esw/indir_table.h" +#include "en.h" +#include "en_tc.h" #include "esw/acl/ofld.h" #include "esw/indir_table.h" -#include "rdma.h" -#include "en.h" +#include "eswitch.h" #include "fs_core.h" #include "lib/devcom.h" #include "lib/eq.h" #include "lib/fs_chains.h" -#include "en_tc.h" +#include "mlx5_core.h" +#include "rdma.h" /* There are two match-all miss flows, one for unicast dst mac and * one for multicast.