Commit 17e9157c authored by Christophe JAILLET's avatar Christophe JAILLET Committed by Jakub Kicinski

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: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: default avatarSimon Horman <simon.horman@corigine.com>
Link: https://lore.kernel.org/r/20220607125103.487801-1-simon.horman@corigine.comSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent da6e113f
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
#ifndef NFP_CRC32_H #ifndef NFP_CRC32_H
#define NFP_CRC32_H #define NFP_CRC32_H
#include <linux/kernel.h>
#include <linux/crc32.h> #include <linux/crc32.h>
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment