From: Christophe JAILLET Date: Tue, 7 Jun 2022 12:51:03 +0000 (+0200) Subject: nfp: Remove kernel.h when not needed X-Git-Tag: v6.1-rc5~731^2~395 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=17e9157c4ed00a90fcf34d9caffee90d194ebfa3;p=platform%2Fkernel%2Flinux-starfive.git 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 Signed-off-by: Simon Horman Link: https://lore.kernel.org/r/20220607125103.487801-1-simon.horman@corigine.com Signed-off-by: Jakub Kicinski --- 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 #include /**