]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
hwrng: core - Remove list.h from the hw_random.h
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 5 Jun 2024 18:51:33 +0000 (21:51 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sun, 16 Jun 2024 05:41:53 +0000 (13:41 +0800)
The 'struct list' type is defined in types.h, no need to include list.h
for that.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
include/linux/hw_random.h

index 136e9842120e88dd6db0406c9cf8aa5892501825..b424555753b11f27ecb3a73bf3d773a6460df967 100644 (file)
@@ -13,9 +13,8 @@
 #define LINUX_HWRANDOM_H_
 
 #include <linux/completion.h>
-#include <linux/types.h>
-#include <linux/list.h>
 #include <linux/kref.h>
+#include <linux/types.h>
 
 /**
  * struct hwrng - Hardware Random Number Generator driver