Message ID | 20220607125103.487801-1-simon.horman@corigine.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 17e9157c4ed00a90fcf34d9caffee90d194ebfa3 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [net-next,repost] nfp: Remove kernel.h when not needed | expand |
Hello: This patch was applied to netdev/net-next.git (master) by Jakub Kicinski <kuba@kernel.org>: On Tue, 7 Jun 2022 14:51:03 +0200 you wrote: > From: Christophe JAILLET <christophe.jaillet@wanadoo.fr> > > When kernel.h is used in the headers it adds a lot into dependency hell, > especially when there are circular dependencies are involved. > > Remove kernel.h when it is not needed. > > [...] Here is the summary with links: - [net-next,repost] nfp: Remove kernel.h when not needed https://git.kernel.org/netdev/net-next/c/17e9157c4ed0 You are awesome, thank you!
diff --git a/drivers/net/ethernet/netronome/nfp/nfpcore/crc32.h b/drivers/net/ethernet/netronome/nfp/nfpcore/crc32.h index afab6f0fc564..6ad43c7cefe6 100644 --- a/drivers/net/ethernet/netronome/nfp/nfpcore/crc32.h +++ b/drivers/net/ethernet/netronome/nfp/nfpcore/crc32.h @@ -4,7 +4,6 @@ #ifndef NFP_CRC32_H #define NFP_CRC32_H -#include <linux/kernel.h> #include <linux/crc32.h> /**