diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2022-06-07 15:51:03 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-06-08 20:05:19 +0300 |
commit | 17e9157c4ed00a90fcf34d9caffee90d194ebfa3 (patch) | |
tree | 412262312778b2bf2be78827e7cdd37071a5d30d /drivers | |
parent | da6e113ff010815fdd21ee1e9af2e8d179a2680f (diff) | |
download | linux-17e9157c4ed00a90fcf34d9caffee90d194ebfa3.tar.xz |
nfp: Remove kernel.h when not needed
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.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Simon Horman <simon.horman@corigine.com>
Link: https://lore.kernel.org/r/20220607125103.487801-1-simon.horman@corigine.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/netronome/nfp/nfpcore/crc32.h | 1 |
1 files changed, 0 insertions, 1 deletions
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> /** |