2022-11-13 20:47:00

by Thomas Gleixner

[permalink] [raw]
Subject: [patch 07/10] net: nfp: Remove linux/msi.h includes

Nothing in these files needs anything from linux/msi.h

Signed-off-by: Thomas Gleixner <[email protected]>
Cc: Simon Horman <[email protected]>
Cc: Jakub Kicinski <[email protected]>
Cc: "David S. Miller" <[email protected]>
Cc: Eric Dumazet <[email protected]>
Cc: Paolo Abeni <[email protected]>
Cc: [email protected]
Cc: [email protected]
---
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>




2022-11-14 11:07:43

by Simon Horman

[permalink] [raw]
Subject: Re: [patch 07/10] net: nfp: Remove linux/msi.h includes

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 [email protected]. 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 <[email protected]>
> Cc: Simon Horman <[email protected]>
> Cc: Jakub Kicinski <[email protected]>
> Cc: "David S. Miller" <[email protected]>
> Cc: Eric Dumazet <[email protected]>
> Cc: Paolo Abeni <[email protected]>
> Cc: [email protected]
> Cc: [email protected]

Acked-by: Simon Horman <[email protected]>

> ---
> 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>
>
>