mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 18:13:41 +02:00
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>
This commit is contained in:
parent
da6e113ff0
commit
17e9157c4e
|
|
@ -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>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user