From patchwork Sun Nov 27 16:16:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe JAILLET X-Patchwork-Id: 26382 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp5190091wrr; Sun, 27 Nov 2022 08:19:48 -0800 (PST) X-Google-Smtp-Source: AA0mqf46glJMiAQRlYLIyBbsf09Mcd2LEv5Uc4pVBAWrbFbz7mJ4qizc68y4Mmqx8zIgNi0mcCfx X-Received: by 2002:a17:906:3385:b0:7a2:b352:a0d3 with SMTP id v5-20020a170906338500b007a2b352a0d3mr39688363eja.399.1669565988374; Sun, 27 Nov 2022 08:19:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669565988; cv=none; d=google.com; s=arc-20160816; b=GJvxNsaTyVcl2C7LPi1rmnszTfbTmAI5RInEBGgzROJbhBHy4meZaATyhAA1FJFM8P lVm07HhNY5yRqU/rj1F+90bSR6/F8XyPf/8VZfqv4OJoQOWf0NdYYVTcazeS8LrYTgbF VF8JwKrGY4ACIrKTWlleIQvXc9INa/dMPi7zivLC59zRk0A/oAAF4LDitH8eso9vEqVZ Mor0zMzGs6LWKSs2ON7xr1cunjDNg7GcGnvoWVhsoKM7uSH0mB927LQLlYx6CP9szM5L VqfX3OflR+OCFVuIO4VTi5liCcT5k5X/MtNFX1u7Aor16VnVh/7UaVJLj/UUda26HH7H 16GA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=9yj/wFH5gxmXUD64XXOy1zhoe8cFHRMvlTVkoHNCa98=; b=O0pVUrFt+RW43xZhCJY4i+l6R98y3PFCEcUYQyjQ4S8tmmPEGqLUEvQr7WTZjme6XZ 4WlUD39DMUYx6U0427p7sBzqShnrrfHO+HJ/OjS0EaNJshzKgWcCqRw0PKS4UtxQPC9D Qc3d/8Bn+sNSdm58fFpomYaW91JxRNM0AeHOW5UJIvaKt9D5vJu2egWdkTQhY2DI+U6j cPeD/g9T4remTLDzSd7vGyRSbcPwmJlfp+U/I+O3DJ0688gkK6QySLYLEF+ZnCGDiavY r/kQfpKTuhB2G1i/eAG42I8cSS+nKLN3qvaGyA6MabcAbIc70kJHB4tujx/Aq5rosJdC qiHg== ARC-Authentication-Results: i=1; mx.google.com; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l15-20020a056402254f00b00467238595easi8255062edb.369.2022.11.27.08.19.25; Sun, 27 Nov 2022 08:19:48 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229641AbiK0QRA (ORCPT + 99 others); Sun, 27 Nov 2022 11:17:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229581AbiK0QQ7 (ORCPT ); Sun, 27 Nov 2022 11:16:59 -0500 Received: from smtp.smtpout.orange.fr (smtp-19.smtpout.orange.fr [80.12.242.19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F99FBCB0 for ; Sun, 27 Nov 2022 08:16:58 -0800 (PST) Received: from pop-os.home ([86.243.100.34]) by smtp.orange.fr with ESMTPA id zKKsod9JE8GHKzKKtoB4sH; Sun, 27 Nov 2022 17:16:56 +0100 X-ME-Helo: pop-os.home X-ME-Auth: Y2hyaXN0b3BoZS5qYWlsbGV0QHdhbmFkb28uZnI= X-ME-Date: Sun, 27 Nov 2022 17:16:56 +0100 X-ME-IP: 86.243.100.34 From: Christophe JAILLET To: Saeed Mahameed , Leon Romanovsky , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Christophe JAILLET , netdev@vger.kernel.org, linux-rdma@vger.kernel.org Subject: [PATCH] net/mlx5e: Remove unneeded io-mapping.h #include Date: Sun, 27 Nov 2022 17:16:52 +0100 Message-Id: <7779439b2678fffe7d3e4e0d94bbb1b1eb850f5e.1669565797.git.christophe.jaillet@wanadoo.fr> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750666826098423265?= X-GMAIL-MSGID: =?utf-8?q?1750666826098423265?= The mlx5 net files don't use io_mapping functionalities. So there is no point in including . Remove it. Signed-off-by: Christophe JAILLET Reviewed-by: Pavan Chebbi --- drivers/net/ethernet/mellanox/mlx5/core/cmd.c | 1 - drivers/net/ethernet/mellanox/mlx5/core/main.c | 1 - drivers/net/ethernet/mellanox/mlx5/core/uar.c | 1 - 3 files changed, 3 deletions(-) diff --git a/drivers/net/ethernet/mellanox/mlx5/core/cmd.c b/drivers/net/ethernet/mellanox/mlx5/core/cmd.c index 74bd05e5dda2..597907fd63f5 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/cmd.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/cmd.c @@ -37,7 +37,6 @@ #include #include #include -#include #include #include #include diff --git a/drivers/net/ethernet/mellanox/mlx5/core/main.c b/drivers/net/ethernet/mellanox/mlx5/core/main.c index 70e8dc305bec..25e87e5d9270 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/main.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/main.c @@ -37,7 +37,6 @@ #include #include #include -#include #include #include #include diff --git a/drivers/net/ethernet/mellanox/mlx5/core/uar.c b/drivers/net/ethernet/mellanox/mlx5/core/uar.c index 8455e79bc44a..1513112ecec8 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/uar.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/uar.c @@ -31,7 +31,6 @@ */ #include -#include #include #include "mlx5_core.h"