[07/10] net: nfp: Remove linux/msi.h includes

Message ID 20221113202428.697888905@linutronix.de
State New
Headers
Series genirq/msi: Treewide cleanup of pointless linux/msi.h includes |

Commit Message

Thomas Gleixner Nov. 13, 2022, 8:34 p.m. UTC
  Nothing in these files needs anything from linux/msi.h

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Simon Horman <simon.horman@corigine.com>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Eric Dumazet <edumazet@google.com>
Cc: Paolo Abeni <pabeni@redhat.com>
Cc: oss-drivers@corigine.com
Cc: netdev@vger.kernel.org
---
 drivers/net/ethernet/netronome/nfp/nfp_main.h       |    1 -
 drivers/net/ethernet/netronome/nfp/nfp_net_common.c |    1 -
 drivers/net/ethernet/netronome/nfp/nfp_net_main.c   |    1 -
 3 files changed, 3 deletions(-)
  

Comments

Simon Horman Nov. 14, 2022, 10:46 a.m. UTC | #1
On Sun, Nov 13, 2022 at 09:34:05PM +0100, Thomas Gleixner wrote:
> [Some people who received this message don't often get email from tglx@linutronix.de. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
> 
> Nothing in these files needs anything from linux/msi.h
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> Cc: Simon Horman <simon.horman@corigine.com>
> Cc: Jakub Kicinski <kuba@kernel.org>
> Cc: "David S. Miller" <davem@davemloft.net>
> Cc: Eric Dumazet <edumazet@google.com>
> Cc: Paolo Abeni <pabeni@redhat.com>
> Cc: oss-drivers@corigine.com
> Cc: netdev@vger.kernel.org

Acked-by: Simon Horman <simon.horman@corigine.com>

> ---
>  drivers/net/ethernet/netronome/nfp/nfp_main.h       |    1 -
>  drivers/net/ethernet/netronome/nfp/nfp_net_common.c |    1 -
>  drivers/net/ethernet/netronome/nfp/nfp_net_main.c   |    1 -
>  3 files changed, 3 deletions(-)
> 
> --- a/drivers/net/ethernet/netronome/nfp/nfp_main.h
> +++ b/drivers/net/ethernet/netronome/nfp/nfp_main.h
> @@ -12,7 +12,6 @@
>  #include <linux/ethtool.h>
>  #include <linux/list.h>
>  #include <linux/types.h>
> -#include <linux/msi.h>
>  #include <linux/pci.h>
>  #include <linux/workqueue.h>
>  #include <net/devlink.h>
> --- a/drivers/net/ethernet/netronome/nfp/nfp_net_common.c
> +++ b/drivers/net/ethernet/netronome/nfp/nfp_net_common.c
> @@ -27,7 +27,6 @@
>  #include <linux/page_ref.h>
>  #include <linux/pci.h>
>  #include <linux/pci_regs.h>
> -#include <linux/msi.h>
>  #include <linux/ethtool.h>
>  #include <linux/log2.h>
>  #include <linux/if_vlan.h>
> --- a/drivers/net/ethernet/netronome/nfp/nfp_net_main.c
> +++ b/drivers/net/ethernet/netronome/nfp/nfp_net_main.c
> @@ -16,7 +16,6 @@
>  #include <linux/lockdep.h>
>  #include <linux/pci.h>
>  #include <linux/pci_regs.h>
> -#include <linux/msi.h>
>  #include <linux/random.h>
>  #include <linux/rtnetlink.h>
> 
>
  

Patch

--- a/drivers/net/ethernet/netronome/nfp/nfp_main.h
+++ b/drivers/net/ethernet/netronome/nfp/nfp_main.h
@@ -12,7 +12,6 @@ 
 #include <linux/ethtool.h>
 #include <linux/list.h>
 #include <linux/types.h>
-#include <linux/msi.h>
 #include <linux/pci.h>
 #include <linux/workqueue.h>
 #include <net/devlink.h>
--- a/drivers/net/ethernet/netronome/nfp/nfp_net_common.c
+++ b/drivers/net/ethernet/netronome/nfp/nfp_net_common.c
@@ -27,7 +27,6 @@ 
 #include <linux/page_ref.h>
 #include <linux/pci.h>
 #include <linux/pci_regs.h>
-#include <linux/msi.h>
 #include <linux/ethtool.h>
 #include <linux/log2.h>
 #include <linux/if_vlan.h>
--- a/drivers/net/ethernet/netronome/nfp/nfp_net_main.c
+++ b/drivers/net/ethernet/netronome/nfp/nfp_net_main.c
@@ -16,7 +16,6 @@ 
 #include <linux/lockdep.h>
 #include <linux/pci.h>
 #include <linux/pci_regs.h>
-#include <linux/msi.h>
 #include <linux/random.h>
 #include <linux/rtnetlink.h>