hw_random: Remove list.h from the hw_random.h
Subsystems (2)
PATCH 1/1 hw_random: Remove list.h from the hw_random.h
The 'struct list' type is defined in types.h, no need to include list.h for that.
Signed-off-by Andy Shevchenko <[email protected]>
--- include/linux/hw_random.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
include/linux/hw_random.h +1 -2
@@ -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
Signature · 1 line
2.43.0.rc1.1336.g36b5255a03ac
Herbert Xu
maintainerQuoted 7 lines · Andy Shevchenko
The 'struct list' type is defined in
types.h, no need to includelist.hfor that.Signed-off-by Andy Shevchenko <[email protected]>--- include/linux/hw_random.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
Patch applied. Thanks.
Signature · 3 lines
Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt