]> git.baikalelectronics.ru Git - kernel.git/commit
nfp: Remove kernel.h when not needed
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Tue, 7 Jun 2022 12:51:03 +0000 (14:51 +0200)
committerJakub Kicinski <kuba@kernel.org>
Wed, 8 Jun 2022 17:05:19 +0000 (10:05 -0700)
commit24848a0eb1c10ec70d0c1b21c67e5ca469b0eb3a
tree412262312778b2bf2be78827e7cdd37071a5d30d
parenta4311c1e54e21559a161949c69f8a0ac09abce48
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>
drivers/net/ethernet/netronome/nfp/nfpcore/crc32.h